emulator library
The FlutterFlow Cloud emulator, embeddable: FFXEmulator.start() boots
the full offline data plane in-process (tests use this; the shipped
binary wraps it — see bin/ffx_emulator.dart and specs/26-emulator.md).
Classes
- ConnectorCatalog
-
What the emulator knows of the connector catalog, having none of its own
(docs/architecture/connectors.md §5.1): whether each operation, keyed
connector.operation, acts on the connected account, which decides what a call lost after it left is (an operation that acts may have acted). The supervisor writes it from the catalog asFFX_CONNECTORS_CATALOG; the preview's door admits every call with the data plane's own admission. - EmulatorServer
- FFXEmulator
- FunctionsHostConnection
- One validated connection line.
- FunctionsHostContract
Exceptions / Errors
- FunctionsHostProtocolMismatch
- A connection line from a host of another version of the pair's private contract: it names another protocol than FunctionsHostContract.protocol, or none (a host from before the protocol was named). The emulator exits FunctionsHostContract.protocolRefusedExit with message, which names both versions and no path.