feat(web-next): register realtime-ping inbound (env-gateable)
This commit is contained in:
@@ -23,7 +23,7 @@ export const realtimePongChannel = defineRealtimeChannel(
|
||||
|
||||
export function realtimePingInboundDescriptor(
|
||||
broadcaster: IRealtimeBroadcaster,
|
||||
): IInboundDescriptor<typeof realtimePingChannel.name, typeof pingSchema> {
|
||||
): IInboundDescriptor<"realtime.ping", z.ZodType<PingPayload>> {
|
||||
return {
|
||||
descriptor: realtimePingChannel,
|
||||
handler: async (input: PingPayload, ctx: RealtimeContext): Promise<void> => {
|
||||
|
||||
Reference in New Issue
Block a user