Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Completed OnSend Function
function asyncCompelte() {
// procress the result
if(isOkToSend() == true) {
sendEvent.completed({ allowEvent: true }); // send it
} else {
sendEvent.completed({ allowEvent: false }); // block it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment