MCPcopy Index your code
hub / github.com/callstack/agent-device / writeStderr

Function writeStderr

src/cli/auth-session.ts:562–564  ·  view source on GitHub ↗
(io: AuthIo | undefined, text: string)

Source from the content-addressed store, hash-verified

560}
561
562function writeStderr(io: AuthIo | undefined, text: string): void {
563 (io?.stderr ?? process.stderr).write(text);
564}
565
566function isExpired(expiresAt: string | undefined, now: (() => number) | undefined): boolean {
567 if (!expiresAt) return false;

Callers 2

loginWithDeviceAuthFunction · 0.85
openBrowserFunction · 0.85

Calls 1

writeMethod · 0.80

Tested by

no test coverage detected