stem_postgres library

Classes

PostgresBroker
PostgreSQL-backed implementation of Broker.
PostgresLockStore
PostgreSQL-backed implementation of LockStore.
PostgresResultBackend
PostgreSQL-backed implementation of ResultBackend.
PostgresRevokeStore
PostgreSQL-backed implementation of RevokeStore.
PostgresScheduleStore
PostgreSQL-backed implementation of ScheduleStore using ormed ORM.
PostgresWorkflowStore
PostgreSQL-backed WorkflowStore implementation using ormed ORM.

Functions

postgresBrokerFactory(String uri, {String namespace = 'stem', String? applicationName, TlsConfig? tls}) → StemBrokerFactory
Creates a StemBrokerFactory backed by PostgreSQL.
postgresResultBackendFactory({String namespace = 'stem', Duration defaultTtl = const Duration(days: 1), Duration groupDefaultTtl = const Duration(days: 1), Duration heartbeatTtl = const Duration(minutes: 1)}) → StemBackendFactory
Creates a StemBackendFactory backed by PostgreSQL.
postgresWorkflowStoreFactory(String uri, {String schema = 'public', String namespace = 'stem', String? applicationName, TlsConfig? tls}) → WorkflowStoreFactory
Creates a WorkflowStoreFactory backed by PostgreSQL.