{"action":"opened","issue":{"url":"https://api.github.com/repos/carllerche/mio/issues/272","labels_url":"https://api.github.com/repos/carllerche/mio/issues/272/labels{/name}","comments_url":"https://api.github.com/repos/carllerche/mio/issues/272/comments","events_url":"https://api.github.com/repos/carllerche/mio/issues/272/events","html_url":"https://github.com/carllerche/mio/issues/272","id":106278816,"number":272,"title":"Could notification channels not fail?","user":{"login":"dpc","id":9209,"avatar_url":"https://avatars.githubusercontent.com/u/9209?v=3","gravatar_id":"","url":"https://api.github.com/users/dpc","html_url":"https://github.com/dpc","followers_url":"https://api.github.com/users/dpc/followers","following_url":"https://api.github.com/users/dpc/following{/other_user}","gists_url":"https://api.github.com/users/dpc/gists{/gist_id}","starred_url":"https://api.github.com/users/dpc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpc/subscriptions","organizations_url":"https://api.github.com/users/dpc/orgs","repos_url":"https://api.github.com/users/dpc/repos","events_url":"https://api.github.com/users/dpc/events{/privacy}","received_events_url":"https://api.github.com/users/dpc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-14T06:26:44Z","updated_at":"2015-09-14T06:26:44Z","closed_at":null,"body":"I find it inconvenient that `Sender::send()` can fail.\r\n\r\nI understand the reason of `NotifyError::Closed`, but could other error conditions be eliminated? I would rather have a slower notification, than notifications that can randomly fail. Especially `Notify::Full` seems inconvenient - it's random in nature, and in some applications there's nothing reasonable to do about it (other than spin?). Maybe at least a variant of `Sender::send()` that implements spinning on `Full` queue would be a good idea?\r\n\r\nAlso, could there be a notification mechanism that does not send any data, and only causes EventLoop to trigger some function? This way user could implement any queue they want, with performance and behavior that they need."}}