ansys.fluent.core.services.interceptors.BatchedFuture#

class ansys.fluent.core.services.interceptors.BatchedFuture(result_cls)#

Class implementing gRPC.Future interface.

An instance of BatchedFuture is returned if the gRPC method is queued to be executed in batch later.

Methods

__init__(result_cls)

__init__ method of BatchedFuture class.

add_done_callback(fn)

Adds a function to be called at completion of the computation.

cancel()

Attempts to cancel the computation.

cancelled()

Describes whether the computation was cancelled.

done()

Describes whether the computation has taken place.

exception([timeout])

Return the exception raised by the computation.

result([timeout])

Returns the result of the computation or raises its exception.

running()

Describes whether the computation is taking place.

traceback([timeout])

Access the traceback of the exception raised by the computation.