Skip to content

Instance Method

set(_:to:)

Sets a job that should be run in the future
func set(_ id: JobIdentifier, to data: JobData) -> EventLoopFuture<Void>

Parameters

id

The ID of the job

data

Data for the job