Extension (Structure)swift-nio 2.74.0all tags

    Duration (ext)

    You’re viewing third-party extensions to Duration, a struct from the Swift standard library.

    You can also read the documentation forDuration itself.

    extension Duration

    Extension in NIOCore

    Type members

    • init(TimeAmount)

      Construct a Duration given a number of nanoseconds represented as a TimeAmount.

    Extension in NIOPosix

    Type members