UNPKG

@hotmeshio/hotmesh

Version:

Permanent-Memory Workflows & AI Agents

22 lines (21 loc) 761 B
import { Connection } from '../../types/memflow'; import { ProviderConfig, ProvidersConfig } from '../../types/provider'; /** * The Connection service is used to declare the class * and connection options but does not connect quite yet. Connection * happens at a later lifecycle stage when a workflow * is started by the MemFlow Client module (`(new MemFlow.Client())).start()`). * * The config options optionall support a multi-connection setup * where the `store` connection explicitly defined along with `stream`, `sub`, etc. */ export declare class ConnectionService { /** * @private */ constructor(); /** * Instance initializer */ static connect(config: ProviderConfig | ProvidersConfig): Promise<Connection>; }