跳转到内容

Takeover

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

Defined in: services/takeover.ts:28

readonly active: boolean

Defined in: services/takeover.ts:36

Whether anything is covering the game right now.

around<T>(show): Promise<T>

Defined in: services/takeover.ts:38

The common case: cover the game for the length of one promise.

T

() => Promise<T>

Promise<T>


begin(): void

Defined in: services/takeover.ts:30

Something is now covering the game.

void


end(): void

Defined in: services/takeover.ts:34

…and is not any more. Unbalanced calls are ignored rather than trusted: a store tells you the overlay closed, and nothing guarantees it told you it opened.

void