MCPcopy Create free account
hub / github.com/Snowflyt/tinyeffect / defineHandlerFor

Function defineHandlerFor

src/effected.ts:313–317  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

311 ) => H;
312};
313export function defineHandlerFor() {
314 return {
315 with: (handler: any) => handler,
316 };
317}
318
319type ExtractUnhandled<E extends Effect> =
320 E extends (

Callers 12

effected.spec.tsFile · 0.90
stateHandlerFunction · 0.90
withPrefixFunction · 0.90
withMinimumLogLevelFunction · 0.90
stateHandlerFunction · 0.90
pStateFunction · 0.90
stateHandlerFunction · 0.90
withPrefixFunction · 0.90
withMinimumLogLevelFunction · 0.90

Calls

no outgoing calls

Tested by 5

stateHandlerFunction · 0.72
withPrefixFunction · 0.72
withMinimumLogLevelFunction · 0.72
stateHandlerFunction · 0.72
pStateFunction · 0.72