sync

protected fun sync(sync: Task)

Synchronises this task with the properties of the sync task.

This reflects the name, timeout, priority, and subsystem (if disableSubsystemAttachment is false) of sync into this instance.