resume

open fun resume(suspension: ProcessModel.Entity.Suspension, priority: Int = RESUME_PRIORITY)

Causes the suspension to be resumed at the current time (i.e. without any delay). Errors will result if the suspension is not associated with a suspending entity via the suspend(suspension: Suspension) function or if the suspension has already been resumed.

Parameters

priority

the priority associated with the resume. Can be used to order resumptions that occur at the same time.