Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/operation-graph > WatchLoop > runIPCAsync

WatchLoop.runIPCAsync() method

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Sets up an IPC handler that will run the inner loop when it receives a "run" message from the host. Runs until receiving an "exit" message from the host, or aborts early if an unhandled error is thrown.

Signature:

runIPCAsync(host?: IPCHost): Promise<void>;

Parameters

Parameter

Type

Description

host

IPCHost

(Optional)

Returns:

Promise<void>