Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/subscription/mod.ts>Event#async

An event object that calls subscriptions each time the event is dispatched.
Latest
method Event.prototype.async
import { Event } from "https://deno.land/x/subscription@2.0.1/mod.ts";

Get an async iterator.

Returns

AsyncIterableIterator<T> & { close(): Promise<void>; }

An async iterator.