• Start

Languages

/

.NET

/

Methods

ListenLive

The .NET SDK for SurrealDB enables you to listen for changes to records in a table.

Listen responses from an existing live query.

Method Syntax

db.ListenLive<T>(queryUuid)
ArgumentsDescription
queryUuid The UUID of the live query to consume.
await using var liveQuery = db.ListenLive<Person>(queryUuid);

// Consume the live query...

Was this page helpful?