MCPcopy Create free account
hub / github.com/LucklySpace/Lucky-client / execute

Method execute

src/utils/ExceptionHandler.ts:137–147  ·  view source on GitHub ↗

* 执行异步操作并处理异常 * @param fn 要执行的函数 * @param context 上下文信息 * @returns 执行结果或 fallback 值

(
        fn: () => T | Promise<T>,
        context?: ErrorContext
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

wrapMethod · 0.95
safeMethod · 0.95

Calls 1

handleMethod · 0.95

Tested by

no test coverage detected