Interface: ConnectOptions
Makaio Framework / bus-core / ConnectOptions
Interface: ConnectOptions
Section titled “Interface: ConnectOptions”Defined in: ../../../packages/bus-core/src/types/bus.ts:80
Options for IMakaioBus.connect.
Properties
Section titled “Properties”awaitReady?
Section titled “awaitReady?”
optionalawaitReady?:boolean
Defined in: ../../../packages/bus-core/src/types/bus.ts:92
Whether to await subscribe-sync readiness after connecting (default: true).
When true, connect() resolves only after all transports have completed
the subscribe-sync handshake (transport.ready), guaranteeing
remoteRequestHandlers is fully populated before any request dispatch.
Set to false to resolve as soon as sockets are open. Useful when the
caller needs the socket open for a custom handshake before subscribe-sync.
Default Value
Section titled “Default Value”true