mpi_wait_recv/3

mpi_wait_recv(? Handle,- Status,- Data)*

Completes a non-blocking receive operation. The predicate blocks until a message associated with handle Hanlde is buffered. The predicate succeeds unifying Status with the status of the message and Data with the message itself.