You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The userland hook hooks.commit is called before a transaction is fully committed. It will be useful for the user to also run code soon after the transaction is committed.
Let's add an argument to hooks.commit, committed, which is a Promise that resolves once the transaction is committed (i.e. once cache.get(key) will return the updated result from the transaction)
The text was updated successfully, but these errors were encountered:
The userland hook
hooks.commit
is called before a transaction is fully committed. It will be useful for the user to also run code soon after the transaction is committed.Let's add an argument to
hooks.commit
,committed
, which is aPromise
that resolves once the transaction is committed (i.e. oncecache.get(key)
will return the updated result from the transaction)The text was updated successfully, but these errors were encountered: