Skip to main content
Module

x/enzastdlib/rpc-protocol/notification.ts

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
import * as enzastdlib from "https://deno.land/x/enzastdlib@v0.0.4/rpc-protocol/notification.ts";

Type Aliases

Represents a utility type that "depromisifies" a notifications by converting its second argument as its only argument. And converts its return type into void.

Represents a utility type that takes an NotificationRecord<false> record and returns a new record with DepromisifyNotification ran on all notifications.

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

Represents a record containing all registered notifications.