Skip to content

PgTransactionCallback

Namespace: Ankus

Assembly: Ankus.Runtime.dll

Owns a pending outer-transaction callback registration.

public sealed class PgTransactionCallback : IDisposable

Disposing the registration cancels its callback without running it. PostgreSQL keeps the callback rooted until it runs, is cancelled, or the current outer transaction ends.

Inheritance: object

Implements: IDisposable

Cancels the callback without running it.

public void Dispose()

Gets whether the callback is still pending.

public bool IsPending { get; }

Value: bool