const {serialOperations, linkIds} = await getNotifyInsertSerialOperations({
deep
});
await deep.serial({
operations: serialOperations
})
const reservedLinkIds = await deep.reserve(2);
const notifyLinkId = reservedLinkIds.pop();
const containLinkId = reservedLinkIds.pop();
const {serialOperations, linkIds} = await getNotifyInsertSerialOperations({
deep,
notify: {
title,
body,
},
reservedLinkIds: {
notifyLinkId,
containLinkId,
}
});
await deep.serial({
operations: serialOperations
})
Generated using TypeDoc
Gets serial operations to insert Notify