Closed kbond closed 3 years ago
$collection->first() // first envelope on collection $collection->first(MyMessage::class) // first envelope on collection that has message of this class $collection->first(fn(Envelope $e) => true) // first envelope that matches callable