public async Task Execute(Input input) { var source = await _sourceProvider.GetSourceFor(_sourceId.ToString()); var assembly = _assemblyProvider.GetAssemblyFor(source); assembly.Execute(_typeName, "Execute", input); }
public async Task Execute(Input input) { try { var script = await _sourceProvider.GetSourceFor(_sourceId.ToString()); var func = Edge.Func(script); await func(input); } catch (Exception ex) { throw GetException(ex); } }