ScenarioWaiter
Functions
get_scenario_dto
Return type :
ScenarioWaitInfoDTO wait_until_finished
Wait until the scenario is finished. If the scenario is in draft mode, it will raise an exception
refresh_interval :
int - 30 interval in seconds between each refresh
refresh_interval_max_count :
int - 10 maximum number of refresh, if reached, it will raise an exception
set -1 to wait indefinitely
message_dispatcher :
MessageDispatcher message dispatcher to send messages. If provided, the progress
of scenario is emitted in message_dispatcher
Return type :
ScenarioWaitInfoDTO