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

x/subscription/mod.ts>Event#pull

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

Pull the next dispatch from the event return the dispatched data.

Returns

Promise<T>