Skip to main content
Module

x/enzastdlib/rpc-protocol/notification.ts>DepromisifyNotificationRecord

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

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

Type Parameters

Notifications extends NotificationRecord<false>
optional
Options extends CallOptions = CallOptions
definition: [Key in keyof Notifications]: DepromisifyNotification<Notifications[Key], Options>