createIpcNotifyAdapter
FunctionExperimentalSignature
function createIpcNotifyAdapter(__namedParameters): NotifyAdapter<"sync">;ipc/src/notify-adapter/notify-adapter.ipc.ts:61
Parameters
- __namedParameters
object - __namedParameters.directory
stringDirectory for the registry files. Every process that passes the same directory receives every other one's notifications. Created on first use if it does not exist. The sockets themselves live in the operating system's temporary directory (os.tmpdir()), so the processes must also share that: not with systemd'sPrivateTmp, and in containers that share only this directory, mount a shared temporary directory as well. On Windows they use named pipes instead. - __namedParameters.onError?(
error) =>voidCalled when the server started by alisten*call cannot listen or its registry file cannot be written. Runs synchronously; a throw is ignored.
Returns
NotifyAdapter<"sync">