MCPcopy Create free account
hub / github.com/TheRedDeveloper/ply-engine / ply_storage_try_recv

Function ply_storage_try_recv

js/storage.js:205–212  ·  view source on GitHub ↗
(op_id)

Source from the content-addressed store, hash-verified

203}
204
205function ply_storage_try_recv(op_id) {
206 if (Object.prototype.hasOwnProperty.call(ply_storage_pending, op_id)) {
207 var result = ply_storage_pending[op_id];
208 delete ply_storage_pending[op_id];
209 return js_object(result);
210 }
211 return -1;
212}
213
214miniquad_add_plugin({
215 register_plugin: function (importObject) {

Callers 1

wait_for_responseFunction · 0.85

Calls 1

js_objectFunction · 0.85

Tested by

no test coverage detected