before

abstract val before: (asyncId: Number) -> Unit?(source)

When an asynchronous operation is initiated or completes a callback is called to notify the user. The before callback is called just before said callback is executed.

Parameters

asyncId

the unique identifier assigned to the resource about to execute the callback.