Class ActivityHelper
Activity Helper Methods.
Namespace: Neon.Temporal
Assembly: Neon.Temporal.dll
Syntax
public static class ActivityHelper
Methods
AutoHeartbeat(TimeSpan?)
Automatically heartbeats the current activity context.
Declaration
public static AsyncTimer AutoHeartbeat(TimeSpan? interval = null)
Parameters
| Type | Name | Description |
|---|---|---|
| TimeSpan? | interval | The interval between heartbeats. This is optional and will default to 1/3 the Heartbeat Timeout |
Returns
| Type | Description |
|---|---|
| AsyncTimer |