MCPcopy Index your code
hub / github.com/Linen-dev/linen.dev / typesenseOnChannelNameUpdate

Function typesenseOnChannelNameUpdate

packages/queue/src/tasks/typesense.ts:104–124  ·  view source on GitHub ↗
(
  payload: any,
  helpers: JobHelpers
)

Source from the content-addressed store, hash-verified

102};
103
104export const typesenseOnChannelNameUpdate = async (
105 payload: any,
106 helpers: JobHelpers
107) => {
108 const logger = new Logger(helpers.logger);
109
110 const { channelId } = z
111 .object({
112 channelId: z.string().uuid(),
113 })
114 .parse(payload);
115
116 const keepAlive = new KeepAlive(helpers);
117 keepAlive.start();
118
119 try {
120 await handleChannelNameUpdate({ channelId, logger });
121 } finally {
122 keepAlive.end();
123 }
124};
125
126export const typesenseOnChannelTypeUpdate = async (
127 payload: any,

Callers

nothing calls this directly

Calls 3

startMethod · 0.95
endMethod · 0.95
handleChannelNameUpdateFunction · 0.90

Tested by

no test coverage detected