interface UnderlyingSourceCancelCallback ((reason?: any) => void | PromiseLike<void>)
  • Parameters

    • Optional reason: any

    Returns void | PromiseLike<void>