Table of Contents

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 Empty

Request for the call.

options RpcOptions

Optional RPC options.

Returns

Task<GetCurrentTimeResponse>

RPC response

LockTimeSkippingAsync(LockTimeSkippingRequest, RpcOptions?)

Invoke LockTimeSkipping.

public Task<LockTimeSkippingResponse> LockTimeSkippingAsync(LockTimeSkippingRequest req, RpcOptions? options = null)

Parameters

req LockTimeSkippingRequest

Request for the call.

options RpcOptions

Optional RPC options.

Returns

Task<LockTimeSkippingResponse>

RPC response

SleepAsync(SleepRequest, RpcOptions?)

Invoke Sleep.

public Task<SleepResponse> SleepAsync(SleepRequest req, RpcOptions? options = null)

Parameters

req SleepRequest

Request for the call.

options RpcOptions

Optional RPC options.

Returns

Task<SleepResponse>

RPC response

SleepUntilAsync(SleepUntilRequest, RpcOptions?)

Invoke SleepUntil.

public Task<SleepResponse> SleepUntilAsync(SleepUntilRequest req, RpcOptions? options = null)

Parameters

req SleepUntilRequest

Request for the call.

options RpcOptions

Optional RPC options.

Returns

Task<SleepResponse>

RPC response

UnlockTimeSkippingAsync(UnlockTimeSkippingRequest, RpcOptions?)

Invoke UnlockTimeSkipping.

public Task<UnlockTimeSkippingResponse> UnlockTimeSkippingAsync(UnlockTimeSkippingRequest req, RpcOptions? options = null)

Parameters

req UnlockTimeSkippingRequest

Request for the call.

options RpcOptions

Optional RPC options.

Returns

Task<UnlockTimeSkippingResponse>

RPC response

UnlockTimeSkippingWithSleepAsync(SleepRequest, RpcOptions?)

Invoke UnlockTimeSkippingWithSleep.

public Task<SleepResponse> UnlockTimeSkippingWithSleepAsync(SleepRequest req, RpcOptions? options = null)

Parameters

req SleepRequest

Request for the call.

options RpcOptions

Optional RPC options.

Returns

Task<SleepResponse>

RPC response