ShutdownTokenType

Defined in header “ark/pipeline/shutdown_token.hh”.


Defines the type of the shutdown token.

The ‘standard’ token will allow you to request shutdown, but won’t prevent other tokens from requesting a shutdown. The ‘required-for-shutdown’ token will allow you to request shutdown, and the pipeline will not exit until you have requested shutdown. In other words, other stages that request shutdown will not be successful until you have also requested a shutdown.

Values

  • Standard = 0

  • RequiredForShutdown = 1