Example #1
0
        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;
            }
        }
Example #2
0
 public async Task <object> Invoke(object input)
 {
     Entrypoint.ExitForNode();
     return(true);
 }