composeMercury
composeMercury(
config):Promise<ComposedApp>
Defined in: libs/core/src/compose.ts:147
Builds a Mercury instance from the composition config it is given + env. The
config is a parameter, never imported here: that’s what makes the core
app-agnostic — an entrypoint (the service, the dev REPL, a future scaffolded
app) reads its own mercury.config.ts and passes it in. See ComposedApp.
Parameters
Section titled “Parameters”config
Section titled “config”Returns
Section titled “Returns”Promise<ComposedApp>