mirror of
https://github.com/serverless/serverless.git
synced 2025-12-08 19:46:03 +00:00
9 lines
183 B
Ruby
9 lines
183 B
Ruby
def handler(event:, context:)
|
|
start = context.get_remaining_time_in_millis()
|
|
sleep(0.1)
|
|
stop = context.get_remaining_time_in_millis()
|
|
|
|
{"start" => start, "stop" => stop}
|
|
end
|
|
|