Returns the nano time when the deadline will be reached.
if no deadline is set.
Sets the nano time when the deadline will be reached. All operations must complete before this time. Use a deadline to set a maximum bound on the time spent on a sequence of operations.