跳转到内容

run

此内容尚不支持你的语言。

function run(
options: Options,
): Effect<
void,
| PlatformError
| ApplicationError
| SchemaError
| ManagedFork
| ServiceConflict
| BadArgument
| InvalidOperation
| StoreError
>

Defined in: Start.ts:66

Loads the entries of the config file and runs until interrupted. Plugin modules are imported through the hot reloader, so bare specifiers resolve from the application directory whether or not watch is on.

Parameter Type
options Options

Effect<void, | PlatformError | ApplicationError | SchemaError | ManagedFork | ServiceConflict | BadArgument | InvalidOperation | StoreError>