MCPcopy Create free account
hub / github.com/apache/thrift / makeAsyncHandler

Function makeAsyncHandler

lib/nodejs/test/test_handler.mjs:44–49  ·  view source on GitHub ↗
(label)

Source from the content-addressed store, hash-verified

42};
43
44function makeAsyncHandler(label) {
45 return function (thing, result) {
46 thing = syncHandlers[label](thing);
47 result(null, thing);
48 };
49}
50
51const asyncHandlers = {
52 testVoid: testVoidAsync,

Callers 1

test_handler.mjsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected