An interface through which to participate in an operation.
Definition at line 149 of file base.py.
◆ advance()
| def grpc.framework.interfaces.base.base.Operator.advance |
( |
|
self, |
|
|
|
initial_metadata = None, |
|
|
|
payload = None, |
|
|
|
completion = None, |
|
|
|
allowance = None |
|
) |
| |
Progresses the operation.
Args:
initial_metadata: An initial metadata value. Only one may ever be
communicated in each direction for an operation, and they must be
communicated no later than either the first payload or the completion.
payload: A payload value.
completion: A Completion value. May only ever be non-None once in either
direction, and no payloads may be passed after it has been communicated.
allowance: A positive integer communicating the number of additional
payloads allowed to be passed by the remote side of the operation.
Definition at line 153 of file base.py.
The documentation for this class was generated from the following file: