Union type representing all possible events in an async generator execution.
Represents a return event in an async generator execution.
Represents a throw (error) event in an async generator execution.
Represents a yield event in an async generator execution.
Type guard to check if an iterable is an async iterable.
Creates a generator that yields a sequence of numbers or bigints.
Run a generator (sync or async) to completion, optionally observing each yielded value.
Converts a callback-based API to an async generator.
Callback interface for controlling async generator execution.