MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / run

Function run

packages/kernel/runtime-quickjs/src/sealed-bundle.test.ts:10–16  ·  view source on GitHub ↗
(options: Parameters<typeof executeSealedBundle>[0])

Source from the content-addressed store, hash-verified

8// caller, but nothing here knows that — these are the primitive's own promises.
9
10const run = (options: Parameters<typeof executeSealedBundle>[0]) =>
11 Effect.runPromise(
12 executeSealedBundle(options).pipe(
13 Effect.map((value) => ({ ok: true as const, value })),
14 Effect.catch((error) => Effect.succeed({ ok: false as const, message: error.message })),
15 ),
16 );
17
18describe("executeSealedBundle", () => {
19 it("returns what the call resolves", async () => {

Callers 1

Calls 1

executeSealedBundleFunction · 0.90

Tested by

no test coverage detected