@algolia/algolia-browser-telemetry
Version:
<p align="center"> <img src="https://github.com/algolia/algolia-browser-telemetry/blob/master/doc/netinfo.blog.png?raw=true" height="380px"/> </p> <br/> <br/>
9 lines (8 loc) • 352 B
TypeScript
import { Task } from './QueueMicroTask';
/**
* MutationObserverMicroTask
* ensures a task is queued as a microtask using the mutation observer.
* For each task added, the "bit" is flipped and the observer callback is scheduled
*/
declare function MutationObserverMicroTask(): (task: Task) => void;
export default MutationObserverMicroTask;