@kvaser/canking-api
Version:
CanKing API to communicate with the CanKing service using Node.js.
30 lines (18 loc) • 485 B
Markdown
[**Kvaser CanKing GUI Extensions SDK v7.5.1**](../../README.md)
***
[](../../modules.md) / [hooks](../README.md) / useIsOnline
> **useIsOnline**(): `boolean`
Hook keeping track of if the measurement is online.
`boolean`
A flag that indicates if a measurement is started.
```
const isOnline = useIsOnline();
if (isOnline) {
// Measurement is online
} else {
// Measurement is offline
}
```