Creates a new DeployWatcher
instance.
events_url
- The URL for deploy events.timeout_duration
- Optional duration in milliseconds for watching events. If not provided,
a default timeout of 60,000 milliseconds (1 minute) is used.A new DeployWatcher
instance.
Optional
timeout_duration: bigintSubscribes to deploy events.
deploy_subscriptions
- Vector of deploy subscriptions to be added.Result indicating success or an error message.
Represents a deploy watcher responsible for monitoring deploy events.
This struct allows clients to subscribe to deploy events, start watching for events, or wait for an event and handle the received deploy event data.
Fields
events_url
- The URL for deploy events.deploy_subscriptions
- Vector containing deploy subscriptions.active
- Reference-counted cell indicating whether the deploy watcher is active.timeout_duration
- Duration representing the optional timeout for watching events.