Skip to content
Snippets Groups Projects
  • Nat Goodspeed's avatar
    ec6487f3
    DRTVWR-474: Make LLEventMailDrop pass all saved events to listener. · ec6487f3
    Nat Goodspeed authored
    Previously, LLEventMailDrop would send only the first queued event to a
    newly-connected listener. If you wanted to flush all queued events, you'd have
    to "pump" the queue by repeatedly disconnecting and reconnecting -- with no
    good way to know when you'd caught up.
    
    The new behavior makes LLEventMailDrop resemble a multi-valued future: a
    rendezvous between producer and consumer that, once connected, pushes values
    rather than requiring them to be pulled (as with a simple queue) -- regardless
    of the relative order in which post() and listen() are called.
    ec6487f3
    History
    DRTVWR-474: Make LLEventMailDrop pass all saved events to listener.
    Nat Goodspeed authored
    Previously, LLEventMailDrop would send only the first queued event to a
    newly-connected listener. If you wanted to flush all queued events, you'd have
    to "pump" the queue by repeatedly disconnecting and reconnecting -- with no
    good way to know when you'd caught up.
    
    The new behavior makes LLEventMailDrop resemble a multi-valued future: a
    rendezvous between producer and consumer that, once connected, pushes values
    rather than requiring them to be pulled (as with a simple queue) -- regardless
    of the relative order in which post() and listen() are called.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.