Skip to content

Commit

Permalink
async invoke
Browse files Browse the repository at this point in the history
  • Loading branch information
Sleitnick committed Aug 9, 2022
1 parent e66ef04 commit a948b11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rbxts/proton",
"version": "0.5.6",
"version": "0.5.7",
"description": "Framework for Roblox game development",
"main": "out/init.lua",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/net.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ class NetFunctionClient<TX extends unknown[] | unknown, RX extends unknown[] | u
* @param args TX
* @returns RX
*/
public invoke(...args: NetworkParams<TX>): NetworkReturn<RX> {
public async invoke(...args: NetworkParams<TX>): Promise<NetworkReturn<RX>> {
return this.rf.InvokeServer(...args);
}
}
Expand Down

0 comments on commit a948b11

Please sign in to comment.