MCPcopy Create free account
hub / github.com/awslabs/aws-lambda-cpp / get_time_remaining

Method get_time_remaining

include/aws/lambda-runtime/runtime.h:170–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168};
169
170inline std::chrono::milliseconds invocation_request::get_time_remaining() const
171{
172 using namespace std::chrono;
173 return duration_cast<milliseconds>(deadline - system_clock::now());
174}
175
176// Entry method
177void run_handler(std::function<invocation_response(invocation_request const&)> const& handler);

Callers 1

get_nextMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected