TunnelStatusType: {
    status: "not-started";
} | {
    status: "starting";
} | {
    status: "connected";
    url: string;
} | {
    message: TokenItem | OutputMessage;
    status: "error";
    tryMessage?: TokenItem | OutputMessage | null;
}

Type declaration

  • status: "not-started"

Type declaration

  • status: "starting"

Type declaration

  • status: "connected"
  • url: string

Type declaration