• Invokes a specified asynchronous action after the source async-iterable sequence terminates gracefully or exceptionally.

    Type Parameters

    • TSource

      The type of the elements in the source sequence.

    Parameters

    • action: (() => void | Promise<void>)

      Action to invoke and await asynchronously after the source async-iterable sequence terminates

        • (): void | Promise<void>
        • Returns void | Promise<void>

    Returns MonoTypeOperatorAsyncFunction<TSource>

    An operator that returns the source sequence with the action-invoking termination behavior applied.

Generated using TypeDoc