cancel method

JSPromise<JSAny?> cancel([
  1. JSFunction onComplete
])

Cancels all previously queued onDisconnect() set or update events for this location and all children.

Implementation

external JSPromise cancel([
  // (a: Error | null) => any
  JSFunction onComplete,
]);