Skip to main content

class gather_receive_event

Declaration

class gather_receive_event : public async_event_impl { /* full declaration omitted */ };

Description

Event for receive_arbiter::gather_receive, which waits for incoming messages (or empty-box pilots) from all peers.

Inherits from: async_event_impl

Member Variables

weak_gather_request m_request

Member Function Overview

Inherited from async_event_impl:

Member Functions

explicit gather_receive_event(
    const stable_gather_request& gr)

Parameters

const stable_gather_request& gr

bool is_complete()

Description

If this function returns true once, the implementation must guarantee that it will always do so in the future. The event is expected to be cheap to poll repeatedly, and the operation must proceed in the background even while not being polled.