{"push_id":2938700770,"size":3,"distinct_size":0,"ref":"refs/heads/master","head":"496ee2549e2e33bbeaafc52e03ef4c4537a5a148","before":"40fa6f7d06ab02ee11ebdbd64dae46d0215beeb3","commits":[{"sha":"ff93272114ab177fddcddc0701811704c63254ec","author":{"name":"Lucio Franco","email":"a3610693a47dfcee9b7f7e3ade27b3fac79250b4@gmail.com"},"message":"Add basic Event handling\n\nThis adds `Event` production to socket state. This is done via a mpsc\nchannel that can be consumed via `SocketState::events` which will\nreturn a `Vec<Event>` to be consumed up the stack. This setup will\nallow the `UdpSocket` to return this `Vec<Event>` back up to the user\nto handle when the time is right in their implementation.\n\nOther notable changes:\n- Simple rustfmt on socket_state, udp, and events.\n- Moved `Connected`, `Disconnected` and `TimedOut` to be a single\ntuple of `Arc<RwLock<Connection>>` for clairty.\n- Renamed `SocketState::create_connection_if_exists` to\n`SocketState::get_connection_or_insert` also improved the way we use\nlocks in this. Since most calls to this function just needs a read\nlock and not a write lock. A read lock is aquired initally to check if\nthere is a connection or not. If there is not, it will drop the read\nlock and aquire a write lock to insert the new connection. At this\npoint it will also create a `Connected` event.","distinct":false,"url":"https://api.github.com/repos/amethyst/laminar/commits/ff93272114ab177fddcddc0701811704c63254ec"},{"sha":"79851dcea4813632d558c0dec75638647a43eade","author":{"name":"Lucio Franco","email":"a3610693a47dfcee9b7f7e3ade27b3fac79250b4@gmail.com"},"message":"Fix examples that were missing dependencies and main functions","distinct":false,"url":"https://api.github.com/repos/amethyst/laminar/commits/79851dcea4813632d558c0dec75638647a43eade"},{"sha":"496ee2549e2e33bbeaafc52e03ef4c4537a5a148","author":{"name":"bors[bot]","email":"31e8831a045c193c917fdcb487f388eedbd9ad8e@users.noreply.github.com"},"message":"Merge #17\n\n17: Add basic Event handling r=fhaynes,TimonPost a=LucioFranco\n\nThis adds `Event` production to socket state. This is done via a mpsc\r\nchannel that can be consumed via `SocketState::events` which will\r\nreturn a `Vec<Event>` to be consumed up the stack. This setup will\r\nallow the `UdpSocket` to return this `Vec<Event>` back up to the user\r\nto handle when the time is right in their implementation.\r\n\r\nOther notable changes:\r\n- Simple rustfmt on socket_state, udp, and events.\r\n- Moved `Connected`, `Disconnected` and `TimedOut` to be a single\r\ntuple of `Arc<RwLock<Connection>>` for clairty.\r\n- Renamed `SocketState::create_connection_if_exists` to\r\n`SocketState::get_connection_or_insert` also improved the way we use\r\nlocks in this. Since most calls to this function just needs a read\r\nlock and not a write lock. A read lock is aquired initally to check if\r\nthere is a connection or not. If there is not, it will drop the read\r\nlock and aquire a write lock to insert the new connection. At this\r\npoint it will also create a `Connected` event.\r\n\r\nThis PR is in reference to #11 \n\nCo-authored-by: Lucio Franco <luciofranco14@gmail.com>","distinct":false,"url":"https://api.github.com/repos/amethyst/laminar/commits/496ee2549e2e33bbeaafc52e03ef4c4537a5a148"}]}
{"actor":{"display_login":"bors"}}