tarlatan
    Preparing search index...

    Interface TxConnection<E>

    The steps of a write transaction on one connection, as effects.

    interface TxConnection<E> {
        active: Effect<boolean, E>;
        begin: Effect<void, E>;
        commit: Effect<void, E>;
        rollback: Effect<void, E>;
    }

    Type Parameters

    • E
    Index
    active: Effect<boolean, E>

    Whether a transaction is still open on the connection.

    begin: Effect<void, E>
    commit: Effect<void, E>
    rollback: Effect<void, E>