This version of Unity is unsupported.

Task.Wait

public void Wait();

Description

A blocking wait for the task to complete.