Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
44
function
makeAsyncHandler(label) {
45
return
function
(thing, result) {
46
thing = syncHandlers[label](thing);
47
result(null, thing);
48
};
49
}
50
51
const
asyncHandlers = {
52
testVoid: testVoidAsync,
Callers
1
test_handler.mjs
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected