SurrealDB Docs Logo

Enter a search query

.Kill()

Kills a running live query by it’s UUID.

Method Syntax
await db.Kill(queryUuid)

Arguments

ArgumentsDescription
queryUuid required

The UUID of the live query you wish to kill.

cancellationToken optional

The cancellationToken enables graceful cancellation of asynchronous operations.

Example usage

await db.Kill(queryUuid);

On this page

© SurrealDB GitHub Discord Community Cloud Features Releases Install