Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenHands/OpenHands
/ once
Function
once
scripts/proxy-utils.mjs:248–255 ·
view source on GitHub ↗
(fn)
Source
from the content-addressed store, hash-verified
246
}
247
248
function
once(fn) {
249
let
called = false;
250
return
(...args) => {
251
if
(called)
return
;
252
called = true;
253
fn(...args);
254
};
255
}
256
257
function
textErrorBody(message) {
258
return
{
Callers
11
proxyHttp
Function · 0.85
proxyWebSocket
Function · 0.85
dev-safe.test.ts
File · 0.85
dev-extra-backend.test.ts
File · 0.85
dev-with-automation.test.ts
File · 0.85
launchBackendOnly
Function · 0.85
dev-process-utils.test.ts
File · 0.85
stopChild
Function · 0.85
ingress.test.ts
File · 0.85
racingLauncher
Function · 0.85
agent-canvas.test.ts
File · 0.85
Calls
no outgoing calls
Tested by
3
launchBackendOnly
Function · 0.68
stopChild
Function · 0.68
racingLauncher
Function · 0.68