Skip to main content Link Search Menu Expand Document (external link)

RpcBroadcastChannel overview

Added in v1.0.0


Table of contents


utils

make

Signature

export declare const make: <R extends RpcRouter.RpcRouter<any, any>>(
  channelId: string
) => RequestResolver.RequestResolver<
  Rpc.Request<RpcRouter.RpcRouter.Request<R>>,
  Serializable.SerializableWithResult.Context<RpcRouter.RpcRouter.Request<R>>
>

Added in v1.0.0

toBroadcastChannelRouter

Signature

export declare const toBroadcastChannelRouter: <R extends RpcRouter.RpcRouter<any, any>>(
  self: R,
  channelId: string
) => any

Added in v1.0.0