Skip to main content

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?​

StateUpdateOptions

Additional metadata forwarded to the state manager.

Returns​

void