Skip to content

Instantly share code, notes, and snippets.

@guitarrapc
Created December 14, 2016 19:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guitarrapc/fdf2d64d6ef5c127e6ed99dab30ed143 to your computer and use it in GitHub Desktop.
Save guitarrapc/fdf2d64d6ef5c127e6ed99dab30ed143 to your computer and use it in GitHub Desktop.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SimpleAsyncFunction
{
public class Program
{
public static void Main(string[] args)
{
// use custom LambdaContext to access local context logger
var responseTask = new Function().FunctionHandlerAsync("hoge", new LambdaContext());
var response = responseTask.Result;
Console.WriteLine(response);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment