You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All methods in SAGA can be called as async methods:
f=rs.filesystem.File('/etc/passwd')
# synchronous callprintf.get_size()
# this is equivalent to this version which creates a task in a final state (synchronous call)task=f.get_size(ttype=rs.SYNC)
printtask.get_result()
# this is a version creating a RUNNING task which one needs to wait on to get the result:task=f.get_size(ttype=rs.ASYNC)
task.wait()
printtask.get_result()
# this is a version creating a NEW task which one needs to run and wait on to get the result:task=f.get_size(ttype=rs.TASK)
task.run()
task.wait()
printtask.get_result()
This holds for every method of the functional API packages. Its rarely used, but still, it needs proper documentation.
No description provided.
The text was updated successfully, but these errors were encountered: