StartIndicator typedef

StartIndicator = bool Function(LogRecord record)

A function that determines when a starting process should be considered "running".

This callback is invoked for each LogRecord while the process status is ProcessStatus.starting. When it returns true, the status transitions to ProcessStatus.running.

If no StartIndicator is provided, the process transitions to running immediately after being spawned.

Implementation

typedef StartIndicator = bool Function(LogRecord record);