Skip to content

Commit e5ca2ba

Browse files
authored
remove now unused function - CreateOrchestrationBindingInfo
1 parent aca4c0b commit e5ca2ba

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/DurableWorker/DurableController.cs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -112,21 +112,5 @@ public bool ShouldSuppressPipelineTraces()
112112
{
113113
return _durableFunctionInfo.Type == DurableFunctionType.ActivityFunction;
114114
}
115-
116-
private static OrchestrationBindingInfo CreateOrchestrationBindingInfo(IList<ParameterBinding> inputData)
117-
{
118-
// Quote from https://docs.microsoft.com/en-us/azure/azure-functions/durable-functions-bindings:
119-
//
120-
// "Orchestrator functions should never use any input or output bindings other than the orchestration trigger binding.
121-
// Doing so has the potential to cause problems with the Durable Task extension because those bindings may not obey the single-threading and I/O rules."
122-
//
123-
// Therefore, it's by design that input data contains only one item, which is the metadata of the orchestration context.
124-
var context = inputData[0];
125-
126-
// TODO: make this de-serialization constructor depend on the external SDK
127-
return new OrchestrationBindingInfo(
128-
context.Name,
129-
JsonConvert.DeserializeObject<OrchestrationContext>(context.Data.String));
130-
}
131115
}
132116
}

0 commit comments

Comments
 (0)