Contents

microseconds(_:)

Construct a Duration given a number of microseconds represented as a BinaryInteger.

Declaration

static func microseconds<T>(_ microseconds: T) -> Duration where T : BinaryInteger

Return Value

A Duration representing a given number of microseconds.

Discussion

  let d: Duration = .microseconds(12)

See Also

Creating a duration