def __call__(self, *args, **kwargs):
        """Synchronously call this actor.

        Parameters:
          *args: Positional arguments to send to the actor.
          **kwargs: Keyword arguments to send to the actor.

        Returns:
          Whatever the underlying function backing this actor returns.
        """
        try:
            self.logger.debug("Received args=%r kwargs=%r.", args, kwargs)
            start = time.perf_counter()
            return self.fn(*args, **kwargs)
        finally:
            delta = time.perf_counter() - start
            self.logger.debug("Completed after %.02fms.", delta * 1000)
def __call__ ( self , * args , ** kwargs ) : try : self . logger . debug ( "Received args=%r kwargs=%r." , args , kwargs ) start = time . perf_counter ( ) return self . fn ( * args , ** kwargs ) finally : delta = time . perf_counter ( ) - start self . logger . debug ( "Completed after %.02fms." , delta * 1000 )
Synchronously call this actor.

        Parameters:
          *args: Positional arguments to send to the actor.
          **kwargs: Keyword arguments to send to the actor.

        Returns:
          Whatever the underlying function backing this actor returns.