Handle for closing or updating an existing notification.
interface TxNotifyHandle {
close(): void
update(changes: Partial<TxNotifyOptions>): void
}| Field | Meaning |
|---|---|
| close | Closes the associated notification. |
| update | Updates a notification or record. |
import type { TxNotifyHandle } from '@tekocloud.de/tecexpress'
const example: TxNotifyHandle = { close: () => {}, update: changes => console.log(changes) }
console.log(example)