Entracte (TypeScript)
    Preparing search index...

    Function playSound

    • Play a sound once. Resolves when the audio ends, errors, or the 2.5s safety timeout fires (whichever comes first). No-op when volume <= 0 or the id is unknown.

      Parameters

      • id: string
      • volume: number

      Returns Promise<void>