hoshimi
    Preparing search index...

    Interface HoshimiPlayerOptions

    The Hoshimi player options.

    interface HoshimiPlayerOptions {
        onDisconnect?: DisconnectPlayerActions;
        onError?: ErrorPlayerActions;
        storage?: PlayerStorageAdapter;
        requesterFn?<T extends unknown = unknown>(requester: unknown): T;
    }
    Index

    Properties

    onDisconnect?: DisconnectPlayerActions

    The options for handling disconnects.

    onError?: ErrorPlayerActions

    The options for handling errors.

    The customizable player storage adapter.

    {PlayerMemoryStorage}
    

    Methods

    • The function to use to get the requester data.

      Type Parameters

      • T extends unknown = unknown

      Parameters

      • requester: unknown

        The requester of the track.

      Returns T