public async Task <object> Invoke(dynamic input) { try { var api = new NodeApi(input.api); await Entrypoint.MainForNode(api).ConfigureAwait(false); return(true); } catch (Exception ex) { Console.WriteLine(ex.Format()); throw; } }
public async Task <object> Invoke(object input) { Entrypoint.ExitForNode(); return(true); }