跳转到内容

Observation

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

Defined in: index.ts:122

An entry-owned observation collection; successful imports replace old dependencies, failures retain them.

readonly changes: Stream<void>;

Defined in: index.ts:129


readonly scope: Scope;

Defined in: index.ts:123


readonly watch: (files: readonly string[], activation: Scope) => Effect<void, PlatformError>;

Defined in: index.ts:125

Files registered by one activation accumulate; the next activation’s files replace them.

Parameter Type
files readonly string[]
activation Scope

Effect<void, PlatformError>