Sends an asynchronous JSON-RPC notification using an outbound codec resolved by method name.
async notification(notification: Notification, options?: NotificationOptions): Promise<void> {
return this._notificationViaCodec(this._resolveOutboundCodec(notification.method), notification, options);
}
See the full source, get the GitHub permalink, and search 40K more like it.
Get a free API key