is there a way to know if there are any async mutations in-flight for a collection?
I want to block mutations in the brief period that an async mutation is in-flight for one of my larger forms. It's mainly to prevent the race condition where an onUpdate handler gets processed before the onInsert.
In this case, an upsert is not possible, the insert '''must''' happen before the update.
Is there a way to access like a
pendingMutations
pendingMutations
integer or a
isMutating
isMutating
flag for a collection ? This would tremendously help in my opinion