mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 16:58:49 +01:00
🧪
This commit is contained in:
parent
38e25706de
commit
52b378b2c7
1 changed files with 3 additions and 0 deletions
|
|
@ -316,6 +316,9 @@ const updateEmbed = (protyle: IProtyle, operation: IOperation) => {
|
|||
};
|
||||
|
||||
export const promiseTransactions = () => {
|
||||
window.setInterval(() => {
|
||||
console.log(new Date().getTime())
|
||||
}, 10000);
|
||||
window.siyuan.transactionsTimeout = window.setInterval(() => {
|
||||
if (window.siyuan.transactions.length === 0) {
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue