opal.tasks function

Get the tasks