seconds(_:)

Creates a new TimeAmount for the given amount of seconds.

EventLoop.swift:620
static func seconds(_ amount: Int64) -> TimeAmount

Parameters

amount

the amount of seconds this TimeAmount represents.

Returns

the TimeAmount for the given amount.