Skip to content

PgSubtransactionCallback

Namespace: Ankus

Assembly: Ankus.Runtime.dll

Owns a pending subtransaction callback registration.

public sealed class PgSubtransactionCallback : IDisposable

A pending callback can run for several subtransactions in the current outer transaction. Disposing the registration cancels future invocations without running the callback.

Inheritance: object

Implements: IDisposable

Cancels future callback invocations.

public void Dispose()

Gets whether the callback remains registered.

public bool IsPending { get; }

Value: bool