Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/test/getHandlerPr.ts>getHandlerPr

💧EventEmitter's typesafe replacement
Go to Latest
function getHandlerPr
import { getHandlerPr } from "https://deno.land/x/evt@v2.4.18/test/getHandlerPr.ts";

For tests that used the legacy attach returned Promise

Parameters

evt: NonPostableEvt<any>
run: () => void

Returns

Promise<any>