MCPcopy Create free account
hub / github.com/Effect-TS/effect / of

Method of

packages/effect/src/unstable/ai/Toolkit.ts:84–84  ·  view source on GitHub ↗

* A helper method which can be used for type-safe handler declarations.

(handlers: Handlers)

Source from the content-addressed store, hash-verified

82 * A helper method which can be used for type-safe handler declarations.
83 */
84 of<Handlers extends HandlersFrom<Tools>>(handlers: Handlers): Handlers
85
86 /**
87 * Converts a toolkit into a `Context` containing handlers for each tool

Callers 15

encodeStringFunction · 0.65
encodeFunction · 0.65
HttpRouter.tsFile · 0.65
prefixedFunction · 0.65
HttpPlatform.tsFile · 0.65
makeStorageFunction · 0.65
makeFunction · 0.65
EventJournal.tsFile · 0.65
makeIndexedDbFunction · 0.65
makeStorageFunction · 0.65
layerRpcHandlersFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected