Skip to main content

Namespace: TestService

testservice.v1.TestService

Type Aliases

GetCurrentTimeCallback

Ƭ GetCurrentTimeCallback: (error: Error | null, response?: GetCurrentTimeResponse) => void

Callback as used by temporal.api.testservice.v1.TestService#getCurrentTime.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?GetCurrentTimeResponseGetCurrentTimeResponse
Returns

void


LockTimeSkippingCallback

Ƭ LockTimeSkippingCallback: (error: Error | null, response?: LockTimeSkippingResponse) => void

Callback as used by temporal.api.testservice.v1.TestService#lockTimeSkipping.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?LockTimeSkippingResponseLockTimeSkippingResponse
Returns

void


SleepCallback

Ƭ SleepCallback: (error: Error | null, response?: SleepResponse) => void

Callback as used by temporal.api.testservice.v1.TestService#sleep.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?SleepResponseSleepResponse
Returns

void


SleepUntilCallback

Ƭ SleepUntilCallback: (error: Error | null, response?: SleepResponse) => void

Callback as used by temporal.api.testservice.v1.TestService#sleepUntil.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?SleepResponseSleepResponse
Returns

void


UnlockTimeSkippingCallback

Ƭ UnlockTimeSkippingCallback: (error: Error | null, response?: UnlockTimeSkippingResponse) => void

Callback as used by temporal.api.testservice.v1.TestService#unlockTimeSkipping.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?UnlockTimeSkippingResponseUnlockTimeSkippingResponse
Returns

void


UnlockTimeSkippingWithSleepCallback

Ƭ UnlockTimeSkippingWithSleepCallback: (error: Error | null, response?: SleepResponse) => void

Callback as used by temporal.api.testservice.v1.TestService#unlockTimeSkippingWithSleep.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?SleepResponseSleepResponse
Returns

void