Interface IWorkerMapper<T>
Assembly: Holoride.ElasticSDK.Runtime.dll
Syntax
public interface IWorkerMapper<T> : IWorkerMapper
Type Parameters
Methods
Map(IPipelineWorker, GlobalPosition, CancellationToken)
This method maps the data from the connected worker at the position to the type defined by the DataMappingProviderInfoAttribute.
Declaration
UniTask<T> Map(IPipelineWorker worker, GlobalPosition position, CancellationToken cancellationToken = default)
Parameters
Returns
Type |
Description |
Cysharp.Threading.Tasks.UniTask<T><T> |
|
Map(IPipelineWorker, CancellationToken)
This method maps the data from the connected worker to the type defined by the DataMappingProviderInfoAttribute.
Declaration
UniTask<T> Map(IPipelineWorker worker, CancellationToken cancellationToken = default)
Parameters
Returns
Type |
Description |
Cysharp.Threading.Tasks.UniTask<T><T> |
|