Type alias PlayerMediaPositionUpdateFunction

PlayerMediaPositionUpdateFunction: ((position) => Promise<number>)

Timer が音源の再生位置情報を更新する際に呼び出すコールバック関数の型情報

Type definition for a callback function used by Timer to update the current music playback position

Type declaration

    • (position): Promise<number>
    • Parameters

      • position: number

      Returns Promise<number>