Configuration
Planned APIs: This page documents client, target, per-call, and adapter configuration after runtime release.
commflow@0.0.2has no runtime configuration surface; see Current Release Quick Start for runnable exports.
How To Use This Page
Choose default timeout, retry/reconnect, and service addressing before creating a client, then use per-call options only for exceptions. Keep context, metadata, and hooks centralized so business code does not rebuild them for every call.
Configuration Layers
Recommendation: put stable values at the client or target layer, and put temporary differences in per-call options.
Core Options
Target Configuration
Use targets for multiple backend services instead of hardcoding several base URLs in application code.
Override order:
Hook Configuration
Hooks should observe the communication lifecycle, not hide business logic in the transport layer.
Hook boundaries:
VextJS Boundary
VextJS is the first target consumer, but the core package should not be tied to VextJS. Framework-specific options belong in the adapter layer.
Current Release Note
commflow@0.0.2 has no runtime configuration surface. You do not need environment variables, proxy settings, retry policies, or VextJS integration options to use the current package.
If you only want to verify the released package, read Current Release Quick Start. To understand how configuration affects recovery, continue to Errors And Retries.