Class TestService
- Namespace
- Temporalio.Client
- Assembly
- Temporalio.dll
Raw gRPC test service.
public abstract class TestService : RpcService
- Inheritance
-
TestService
- Derived
- Inherited Members
Methods
GetCurrentTimeAsync(Empty, RpcOptions?)
Invoke GetCurrentTime.
public Task<GetCurrentTimeResponse> GetCurrentTimeAsync(Empty req, RpcOptions? options = null)
Parameters
req
EmptyRequest for the call.
options
RpcOptionsOptional RPC options.
Returns
- Task<GetCurrentTimeResponse>
RPC response
LockTimeSkippingAsync(LockTimeSkippingRequest, RpcOptions?)
Invoke LockTimeSkipping.
public Task<LockTimeSkippingResponse> LockTimeSkippingAsync(LockTimeSkippingRequest req, RpcOptions? options = null)
Parameters
req
LockTimeSkippingRequestRequest for the call.
options
RpcOptionsOptional RPC options.
Returns
- Task<LockTimeSkippingResponse>
RPC response
SleepAsync(SleepRequest, RpcOptions?)
Invoke Sleep.
public Task<SleepResponse> SleepAsync(SleepRequest req, RpcOptions? options = null)
Parameters
req
SleepRequestRequest for the call.
options
RpcOptionsOptional RPC options.
Returns
- Task<SleepResponse>
RPC response
SleepUntilAsync(SleepUntilRequest, RpcOptions?)
Invoke SleepUntil.
public Task<SleepResponse> SleepUntilAsync(SleepUntilRequest req, RpcOptions? options = null)
Parameters
req
SleepUntilRequestRequest for the call.
options
RpcOptionsOptional RPC options.
Returns
- Task<SleepResponse>
RPC response
UnlockTimeSkippingAsync(UnlockTimeSkippingRequest, RpcOptions?)
Invoke UnlockTimeSkipping.
public Task<UnlockTimeSkippingResponse> UnlockTimeSkippingAsync(UnlockTimeSkippingRequest req, RpcOptions? options = null)
Parameters
req
UnlockTimeSkippingRequestRequest for the call.
options
RpcOptionsOptional RPC options.
Returns
- Task<UnlockTimeSkippingResponse>
RPC response
UnlockTimeSkippingWithSleepAsync(SleepRequest, RpcOptions?)
Invoke UnlockTimeSkippingWithSleep.
public Task<SleepResponse> UnlockTimeSkippingWithSleepAsync(SleepRequest req, RpcOptions? options = null)
Parameters
req
SleepRequestRequest for the call.
options
RpcOptionsOptional RPC options.
Returns
- Task<SleepResponse>
RPC response