The notices: each goes by itself after its tone's lifetime, or when dismissed.
Runs a callback after a delay; setTimeout by default.
setTimeout
An empty store.
const notices = createNoticeStore();const host = { ...rest, notify: (notice) => void notices.push(notice) }; Copy
const notices = createNoticeStore();const host = { ...rest, notify: (notice) => void notices.push(notice) };
The notices: each goes by itself after its tone's lifetime, or when dismissed.