-
-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: serverrpc bypasses network on host mode (#708)
When calling a server rpc on server mode (whether host or not), there is no need to go through the network. Simply invoke the user code. This changes behaviour a little. When you call a ServerRpc, it now executes immediately. Before, it executed on the next frame. This also allows the ServerRpc to be invoked from the server BREAKING CHANGE: ServerRpc execute synchronous in host mode
- Loading branch information
Showing
3 changed files
with
41 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters