Delegate StorageDriverSelector
- Namespace
- Temporalio.Converters
- Assembly
- Temporalio.dll
Chooses which driver stores a payload, or returns null to pass the payload through.
public delegate IStorageDriver? StorageDriverSelector(StorageDriverSelectContext context, Payload payload)
Parameters
contextStorageDriverSelectContextContext the payload is being stored under.
payloadPayloadThe payload being considered. Do not mutate this.
Returns
- IStorageDriver
The driver to store the payload with, or null to pass the payload through.
Remarks
WARNING: This API is experimental and may change in the future.