Skip to content

Instantly share code, notes, and snippets.

@davecra
Created June 12, 2017 23:41
Embed
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