Type alias IWaitForCallback<T, AD>

IWaitForCallback<T, AD>: ((content, options) => boolean | Promise<boolean>)

Type Parameters

Type declaration

    • (content, options): boolean | Promise<boolean>
    • The Definition of a callback which can be used in the waitFor (see waitFor) method of an INopeEventEmitter or an nope.types.INopeObservable

      Export

      Parameters

      • content: T | null
      • options: Partial<AD>

      Returns boolean | Promise<boolean>

Generated using TypeDoc