Skip to main content
Module

x/enzastdlib/rpc-protocol/mod.ts>NotificationCallback

enzastdlib is a set of TypeScript modules that follow a common design API philosophy aiming at sane defaults and ease-of-use targeting the Deno TypeScript runtime.
Latest
type alias NotificationCallback
Re-export
import { type NotificationCallback } from "https://deno.land/x/enzastdlib@v0.0.4/rpc-protocol/mod.ts";

Represents the typing of a notification callback that can be registered.

Type Parameters

optional
ParametersType extends any = any
definition: (payload: Notification, parameters: ParametersType) => Promise<void> | void