mirror of
https://github.com/aljazceru/rabbit.git
synced 2025-12-18 22:44:26 +01:00
feat: parse textnote and include metadata as tags
This commit is contained in:
@@ -120,6 +120,9 @@ setInterval(() => {
|
||||
setActiveBatchSubscriptions(count);
|
||||
}, 1000);
|
||||
|
||||
const EmptyBatchedEvents = Object.freeze({ events: Object.freeze([]), completed: true });
|
||||
const emptyBatchedEvents = () => EmptyBatchedEvents;
|
||||
|
||||
const { exec } = useBatch<TaskArg, TaskRes>(() => ({
|
||||
interval: 2000,
|
||||
batchSize: 150,
|
||||
@@ -190,8 +193,6 @@ const { exec } = useBatch<TaskArg, TaskRes>(() => ({
|
||||
});
|
||||
};
|
||||
|
||||
const emptyBatchedEvents = () => ({ events: [], completed: true });
|
||||
|
||||
const finalizeTasks = () => {
|
||||
tasks.forEach((task) => {
|
||||
const signal = signals.get(task.id);
|
||||
|
||||
Reference in New Issue
Block a user