Function: setGyazoServerState()
function setGyazoServerState(
server: unknown,
port: number | null,
options?: StateUpdateOptions
): void;
Defined in: main/state/appState.ts:301
Sets the active Gyazo OAuth callback server and port together.
Parametersβ
serverβ
unknown
Active Gyazo OAuth server instance.
portβ
number | null
Local callback port used by the server.
options?β
Additional metadata forwarded to the state manager.
Returnsβ
void