multiscale / muscle3

The third major version of the MUltiScale Coupling Library and Environment
Apache License 2.0
25 stars 13 forks source link

Add option or alternative to `instance.receive` to return the first message on any slot of a vector port #178

Closed maarten-ic closed 1 year ago

maarten-ic commented 1 year ago

This would be useful for load-balancing: when distributing work on a vector port, some instances may be finished earlier than others. receive_any would return the first message sent to any slot of the vector port.

LourensVeen commented 1 year ago

Duplicate of #79. Yes, it's been on the planning for that long :).