Function createRiderMode

  • Creates a rider mode for this session

    Parameters

    • name: string

      Rider mode name

    • details: Partial<RiderMode>

      An object consisting of various settings for the RiderMode:

    Returns Map<string, RiderMode>

    Map of all rider modes created this session, including the one that was just made