MCPcopy Create free account
hub / github.com/Noumena-Network/code / getTeleportProgressIndex

Function getTeleportProgressIndex

src/utils/teleportProgressOutput.ts:8–10  ·  view source on GitHub ↗
(currentStep: string)

Source from the content-addressed store, hash-verified

6] as const;
7
8export function getTeleportProgressIndex(currentStep: string): number {
9 return TELEPORT_PROGRESS_STEPS.findIndex(step => step.key === currentStep);
10}
11
12export function getTeleportProgressHeading(spinnerFrame: string): string {
13 return `${spinnerFrame} Teleporting session…`;

Callers 2

TeleportProgressFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected