docstr: Wait for the tasks
docstr_tok: ["Wait","for","the","tasks"]
code: def wait(self, timeout=None):
      "Wait for the tasks"
      if not self.ready():
          for task in self.__tasks:
              task.wait(timeout)
              # XXX: better one-time timeout or n-time ?
              if timeout is None:
                  continue
              timeout = 0
  
imports: from ppft import _Task
  from ppft import Server
  import time
  import dill
  import threading
label_desc: Use image node_id 6 for calling the MapResult obj's underlying member method code with example usage: obj.wait(timeout) without return types