2019-05-21 12:34:15 +02:00

13 lines
247 B
Python

from time import sleep
def withRemainingTime(event, context):
start = context.get_remaining_time_in_millis()
sleep(0.001)
stop = context.get_remaining_time_in_millis()
return {
"start": start,
"stop": stop
}