Created
January 20, 2019 15:39
-
-
Save jondubois/e4a4cf77806c677680c02a443750d010 to your computer and use it in GitHub Desktop.
ag-invoking-rpcs
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
// --- in public/index.html --- | |
// ... After the socket is created. | |
(async () => { | |
let result = await socket.invoke('customProc', {foo: 'bar'}); | |
// result will be 'Success' | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment