Add onsync handler.
Send blobs in response to sync, rather than waiting an arbitrary time period.