public MockRuntime(string handler, string body) { context = new MockLambdaContext(handler, body); InitData = new InitData { Handler = handler, InvokeId = context.RequestId, SuppressUserCodeInit = false, ErrorCode = null }; invoked = false; }
public MockRuntime(string handler, string body) { context = new MockLambdaContext(handler, body); InitData = new InitData { Handler = handler, InvokeId = context.RequestId, SuppressUserCodeInit = true, ErrorCode = null }; invoked = false; client.Timeout = Timeout.InfiniteTimeSpan; }