Wait for an async task to complete
This command waits for a specific async backend operation to complete. Such as deleting a user or exporting a channel.
stream-cli chat watch [task-id] [flags]
# Delete user and watching it complete $ stream-cli chat delete-users "my-user-1" > Successfully initiated user deletion. Task id: 7586fa0d-dc8d-4f6f-be2d-f952d0e26167 # Waiting for the task to complete $ stream-cli chat watch 7586fa0d-dc8d-4f6f-be2d-f952d0e26167 # Providing a timeout of 80 seconds $ stream-cli chat watch 7586fa0d-dc8d-4f6f-be2d-f952d0e26167 --timeout 80
-h, --help help for watch -t, --timeout int [optional] Timeout in seconds. Default is 30 (default 30)
--app string [optional] Application name to use as it's defined in the configuration file --config string [optional] Explicit config file path