Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytebase/bytebase
/ cleanup
Function
cleanup
frontend/src/connect/refreshToken.ts:63–66 ·
view source on GitHub ↗
(received: boolean)
Source
from the content-addressed store, hash-verified
61
const
channel =
new
BroadcastChannel(CHANNEL_NAME);
62
63
const
cleanup = (received: boolean) => {
64
channel.close();
65
resolve(received);
66
};
67
68
const
timeout = setTimeout(() => cleanup(false), WAIT_TIMEOUT_MS);
69
Callers
6
waitForBroadcast
Function · 0.70
executeGhostMigration
Function · 0.50
RunForTarget
Method · 0.50
TestNewMigrationContextUsesSSHNetworkDialersAndCleanup
Function · 0.50
writeTLSMaterialTempFiles
Function · 0.50
TestConfigureGCPWithDialerReturnsCleanup
Function · 0.50
Calls
2
resolve
Function · 0.85
close
Method · 0.45
Tested by
2
TestNewMigrationContextUsesSSHNetworkDialersAndCleanup
Function · 0.40
TestConfigureGCPWithDialerReturnsCleanup
Function · 0.40