UNPKG

@langchain/langgraph

Version:
27 lines (26 loc) 576 B
//#region src/pregel/types.ts var Call = class { func; name; input; retry; cache; timeout; callbacks; __lg_type = "call"; constructor({ func, name, input, retry, cache, timeout, callbacks }) { this.func = func; this.name = name; this.input = input; this.retry = retry; this.cache = cache; this.timeout = timeout; this.callbacks = callbacks; } }; function isCall(value) { return typeof value === "object" && value !== null && "__lg_type" in value && value.__lg_type === "call"; } //#endregion export { Call, isCall }; //# sourceMappingURL=types.js.map