Skip to content

How can I make a script run only after complete synchronization between the server and clients? #4327

Answered by zadam
dvai asked this question in Q&A
Discussion options

You must be logged in to vote

I've added a new backend API call:

api.runOutsideOfSync(() => api.log("This will definitely run outside of sync!"));

It just exposes a mutex which is used internally for similar needs.

The name sounds silly to me, new naming ideas are welcome!

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@dvai
Comment options

@zadam
Comment options

Comment options

You must be logged in to vote
1 reply
@dvai
Comment options

Answer selected by dvai
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants