github.com/neatlab/neatio@v1.7.3-0.20220425043230-d903e92fcc75/network/rpc/testdata/revcall2.js (about) 1 // This test checks reverse calls. 2 3 --> {"jsonrpc":"2.0","id":2,"method":"test_callMeBackLater","params":["foo",[1]]} 4 <-- {"jsonrpc":"2.0","id":2,"result":null} 5 <-- {"jsonrpc":"2.0","id":1,"method":"foo","params":[1]} 6 --> {"jsonrpc":"2.0","id":1,"result":"my result"} 7