public async Task ToInputAsync(IAsyncVertexInputEndpoint inputEndpoint, string otherVertex, string otherEndpoint, CancellationToken token) { _inputEndpoint = inputEndpoint as OperatorFusableInput; bool isAdded = await _inputEndpoint.AddOperatorFusableInput(); if (isAdded) { IEndpointContent endpointContent = new ObjectEndpoint(); ((ObjectEndpoint)endpointContent).SetOperatorOutputEndpoint(this); _operator.AddOutput(_thisId, ref endpointContent); _operator.WaitForOutputCompletion(_thisId); } }
public void SetOperatorInputEndpoint(OperatorFusableInput owningInputEndpoint) { _owningInputEndpoint = owningInputEndpoint; }