MCPcopy
hub / github.com/conwnet/github1s / timeout

Function timeout

src/github-auth.ts:13–13  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

11const AUTH_PAGE_ORIGIN = 'https://auth.github1s.com';
12
13export const timeout = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms));
14
15export const ConnectToGitHub = () => {
16 const opener = window.open(GITHUB_AUTH_URL, '_blank', OPEN_WINDOW_FEATURES);

Callers 3

ConnectToGitLabFunction · 0.90
ConnectToGitHubFunction · 0.85
initServicesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected