Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface WaitUntilEvent

Hierarchy

Index

Properties

Methods

Properties

A cancellation token.

Methods

  • waitUntil(thenable: Promise<any>): void
  • Allows to pause the event loop until the provided thenable resolved.

    Note: It can only be called during event dispatch and not in an asynchronous manner

    Parameters

    • thenable: Promise<any>

      A thenable that delays execution.

    Returns void