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

Function typesenseOnChannelTypeUpdate

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

Source from the content-addressed store, hash-verified

124};
125
126export const typesenseOnChannelTypeUpdate = async (
127 payload: any,
128 helpers: JobHelpers
129) => {
130 const { channelId } = z
131 .object({
132 channelId: z.string().uuid(),
133 })
134 .parse(payload);
135
136 const keepAlive = new KeepAlive(helpers);
137 keepAlive.start();
138
139 try {
140 await handleChannelTypeUpdate({ channelId });
141 } finally {
142 keepAlive.end();
143 }
144};
145
146export const typesenseOnChannelDeletion = async (
147 payload: any,

Callers

nothing calls this directly

Calls 3

startMethod · 0.95
endMethod · 0.95
handleChannelTypeUpdateFunction · 0.90

Tested by

no test coverage detected