Did you know ... Search Documentation:
Predicate thread_peek_message/2