code: def current() -> 'Process':
          
          curr = greenlet.getcurrent()
          if not isinstance(curr, Process):
              raise TypeError("Current greenlet does not correspond to a Process instance.")
          return cast(Process, greenlet.getcurrent())
docs: Returns the instance of the process that is executing at the current moment.