Skip to main content

Module lifecycle

Module lifecycle 

Source
Expand description

Shared Driver lifecycle for the Executor service.

Structs§

ExecutorLifecycleDriver
Publish lifecycle transitions and request graceful gRPC shutdown.

Constants§

CMD_ACTIVATE 🔒
CMD_DEACTIVATE 🔒
CMD_INIT 🔒
CMD_SHUTDOWN 🔒
SHARED_DRIVER_CONTRACT

Functions§

advertised_endpoint
Use a dialable address of the same family when binding all interfaces.
initialize_and_activate
The listener is already bound; self-dial proves the shared Driver is serving before publishing the legal REGISTERED → INACTIVE → ACTIVE transitions.
wait_for_shutdown
Preserve a shutdown sent before a waiter starts polling.
浙ICP备2023005800号-2 浙公网安备33010902005384号