Kui API Documentation - v11.0.0 / @kui-shell/core / WatchPusher
@kui-shell/core.WatchPusher
callbacks to indicate state changes
▸ allOffline(): void
The entire underlying model has disappared
void
packages/core/src/core/jobs/watchable.ts:80
▸ batchUpdateDone(): void
A batch of calls to update
is complete
void
packages/core/src/core/jobs/watchable.ts:71
▸ done(): void
No more updates will be performed
void
packages/core/src/core/jobs/watchable.ts:77
▸ footer(streams
): void
Name | Type |
---|---|
streams |
string [] |
void
packages/core/src/core/jobs/watchable.ts:85
▸ header(response
): void
The header model has changed
Name | Type |
---|---|
response |
Row |
void
packages/core/src/core/jobs/watchable.ts:83
▸ offline(rowKey
): void
The given keyed row is gone
Name | Type |
---|---|
rowKey |
string |
void
packages/core/src/core/jobs/watchable.ts:74
▸ progress(progress
): void
Update progress bar for a given row
Name | Type |
---|---|
progress |
Object |
progress.fileName? |
string |
progress.message? |
string |
progress.percentComplete |
number |
progress.rowIdx |
number |
progress.totalSize? |
number |
void
packages/core/src/core/jobs/watchable.ts:59
▸ setBody(response
): void
set table body
Name | Type |
---|---|
response |
Row [] |
void
packages/core/src/core/jobs/watchable.ts:68
▸ update(response
, batch?
, changed?
, idxToUpdate?
): void
Name | Type | Description |
---|---|---|
response |
Row |
Updated row model |
batch? |
boolean |
- |
changed? |
boolean |
- |
idxToUpdate? |
number |
- |
void