IUpdateHandler

Type for an update handler.

Signature

  • __call(update: IUpdate): void | boolean

    Type for an update handler.

    Returns void | boolean

    true if the handler has "captured" the update in which case update.delete() must be called manually at some point, to return the update to the emscripten heap. No return value or false will automatically handle delete()ing the update.

Also in this Section

Functions

Interfaces