Skip to main content
Module

x/evt/lib/Evt.getCtx.ts>getCtxFactory

💧EventEmitter's typesafe replacement
Latest
function getCtxFactory
import { getCtxFactory } from "https://deno.land/x/evt@v2.5.7/lib/Evt.getCtx.ts";

https://docs.evt.land/api/evt/getctx

Evt.getCtx(obj) an instance of Ctx, always the same for a given object. No strong reference to the object is created when the object is no longer referenced it's associated Ctx will be freed from memory.