跳到內容

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>