Skip to content

Instance Method

first(_:)

Returns the payload of the first job in the queue having type J.
func first<J>(_: J.Type) -> J.Payload? where J : Job