public Task <IlmMoveToStepResponse> MoveToStepAsync(Elastic.Clients.Elasticsearch.IndexName index, Action <IlmMoveToStepRequestDescriptor> configureRequest = null, CancellationToken cancellationToken = default) { var descriptor = new IlmMoveToStepRequestDescriptor(index); configureRequest?.Invoke(descriptor); descriptor.BeforeRequest(); return(DoRequestAsync <IlmMoveToStepRequestDescriptor, IlmMoveToStepResponse>(descriptor)); }
public IlmMoveToStepResponse MoveToStep(Elastic.Clients.Elasticsearch.IndexName index, Action <IlmMoveToStepRequestDescriptor> configureRequest = null) { var descriptor = new IlmMoveToStepRequestDescriptor(index); configureRequest?.Invoke(descriptor); descriptor.BeforeRequest(); return(DoRequest <IlmMoveToStepRequestDescriptor, IlmMoveToStepResponse>(descriptor)); }