PgSessionFn<R> typedef

PgSessionFn<R> = Future<R> Function(PostgreSQLExecutionContext c)

A session is a continuous use of a single connection (inside or outside of a transaction).

This callback function will be called once a connection becomes available.

Implementation

typedef PgSessionFn<R> = Future<R> Function(PostgreSQLExecutionContext c);