MCPcopy Create free account
hub / github.com/chekusu/wanman / wait

Method wait

packages/runtime/src/claude-code.ts:82–82  ·  view source on GitHub ↗

Wait for the process to exit. Returns the exit code.

()

Source from the content-addressed store, hash-verified

80 kill(): void;
81 /** Wait for the process to exit. Returns the exit code. */
82 wait(): Promise<number>;
83 /** Register a handler for parsed JSONL events */
84 onEvent(handler: (event: ClaudeEvent) => void): void;
85 /** Register a handler for the final result */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected