Interface CallbackAdapterContext<T>

The context of the callback adapter. Contains functions that allow for passing values to the iterable and marking the end of an iterable.

Type Parameters

  • T extends unknown[]

Hierarchy

  • CallbackAdapterContext

Properties

Properties

kill: (() => void)

Type declaration

    • (): void
    • Marks the end of the iterable returned by the callbackAdapter.

      Returns void

pass: ((...values: T) => void)

Type declaration

    • (...values: T): void
    • Passes values to the iterable returned by the callbackAdapter.

      Parameters

      • Rest ...values: T

      Returns void

Generated using TypeDoc