Captain is currently in ALPHA. We are happy to get your feedback
Core API
Helpers Stores Watchers

Module: helpers/stores/watchers

Table of contents

Functions

Functions

sendToAllWindows

sendToAllWindows<T>(key, value): void

Type parameters

Name
T

Parameters

NameType
keystring
valueT

Returns

void

Defined in

src/electron/helpers/stores/watchers.ts:14 (opens in a new tab)


sendToFocusedWindow

sendToFocusedWindow<T>(key, value): void

Type parameters

Name
T

Parameters

NameType
keystring
valueT

Returns

void

Defined in

src/electron/helpers/stores/watchers.ts:7 (opens in a new tab)


watchStores

watchStores(): () => Promise<void>

Returns

fn

▸ (): Promise<void>

Returns

Promise<void>

Defined in

src/electron/helpers/stores/watchers.ts:21 (opens in a new tab)