ProtostellarOperationRunner
Table of Contents
-
runStreaming()
: mixed
-
runUnary()
: mixed
-
calculateGRPCTimeout()
: float
runStreaming()
public
static runStreaming(ProtostellarRequest $request, callable $grpcFunc) : mixed
Parameters
-
$request
: ProtostellarRequest
-
-
$grpcFunc
: callable
-
-
throws
-
Exception
Return values
mixed
—
runUnary()
public
static runUnary(ProtostellarRequest $request, callable $grpcCall) : mixed
Parameters
-
$request
: ProtostellarRequest
-
-
$grpcCall
: callable
-
-
throws
-
Exception
Return values
mixed
—
calculateGRPCTimeout()
private
static calculateGRPCTimeout(float $absoluteTimeout) : float
Parameters
-
$absoluteTimeout
: float
-
Return values
float
—