Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AttemptRefMut

An Attempt describes information about an attempt to run a specific category by a specific runner in the past. Every time a new attempt is started and then reset, an Attempt describing general information about it is created.

Hierarchy

Index

Constructors

constructor

  • This constructor is an implementation detail. Do not use this.

    Parameters

    • ptr: number

    Returns AttemptRefMut

Properties

ptr

ptr: number

Methods

ended

  • Accesses the point in time the attempt was ended at. This returns null if this information is not known.

    Returns AtomicDateTime

index

  • index(): number
  • Accesses the unique index of the attempt. This index is unique for the Run, not for all of them.

    Returns number

pauseTime

  • Accesses the amount of time the attempt has been paused for. If it is not known, this returns null. This means that it may not necessarily be possible to differentiate whether a Run has not been paused or it simply wasn't stored.

    Returns TimeSpanRef

started

  • Accesses the point in time the attempt was started at. This returns null if this information is not known.

    Returns AtomicDateTime

time

  • Accesses the split time of the last segment. If the attempt got reset early and didn't finish, this may be empty.

    Returns TimeRef

Generated using TypeDoc