|Did you know ...||Search Documentation:|
deadlineoption. If both options are provided, the earlier time is effective.
If Time is 0 or 0.0, thread_send_message/3 examines the queue and sends the message if space is available, but does not suspend if no space is available, failing immediately instead.
If Time < 0, thread_send_message/3 fails immediately without sending the message.