Kills a running live query by its id, ending the associated AsyncStream.
Method Syntax
try await client.kill(liveQueryID: id)Arguments
Arguments | Description |
|---|---|
liveQueryID | The id of the live query to kill, available as event.queryIDon received events. |
Example usage
try await client.kill(liveQueryID: event.queryID)