| Current Path : /var/www/homesaver/www/bitrix/modules/pull/install/js/pull/queuemanager/src/ |
| Current File : /var/www/homesaver/www/bitrix/modules/pull/install/js/pull/queuemanager/src/queuetype.js |
export type QueueItem = {
id: string,
data: ActionItem,
}
export type ActionItem = {
action: string;
actionParams: Object;
id: string;
}
export type Options = {
callbacks?: Callbacks;
loadItemsDelay?: number;
maxPendingItems?: number;
}
export type Callbacks = {
onBeforeExecute: () => {},
onExecute: () => {},
}