summaryrefslogtreecommitdiffstats
path: root/futures/src/command.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-03-05Converge `Command` types from `iced_futures` and `iced_native`Libravatar Héctor Ramón Jiménez1-70/+0
2023-01-26Annotate `Command` and `Subscription` with `#[must_use]`Libravatar Ian Douglas Scott1-0/+1
Calling a function returning one of these types without using it is almost certainly a mistake. Luckily Rust's `#[must_use]` can help warn about this.
2022-08-17Use `FnOnce` in `Command::perform`Libravatar Héctor Ramón Jiménez1-1/+1
... and revert `FnMut` usage.
2022-08-12Relax `Fn` trait bounds in `Command` & `Action`Libravatar 无限UCW1-1/+1
2022-04-30Fix broken intra-doc links in documentationLibravatar Héctor Ramón Jiménez1-1/+1
2021-09-02Hide implementation details of `Command` in `iced_futures`Libravatar Héctor Ramón Jiménez1-0/+69
2021-09-02Make `Command` implementations platform-specificLibravatar Héctor Ramón Jiménez1-138/+0
This allows us to introduce a platform-specific `Action` to both `iced_native` and `iced_web` and remove the `Clipboard` from `Application::update` to maintain purity. Additionally, this should let us implement further actions to let users query and modify the shell environment (e.g. window, clipboard, and more!)
2020-11-26Use recently stabilized intra-doc linksLibravatar Héctor Ramón Jiménez1-17/+0
See RFC: https://github.com/rust-lang/rfcs/blob/master/text/1946-intra-rustdoc-links.md
2020-04-25Use `Rc` in `Command::map` for WasmLibravatar Héctor Ramón Jiménez1-1/+1
2020-04-25#321 cargo fmtLibravatar Olivier Pinon1-5/+1
2020-04-25#321 Fix async examples by feature-gating Command implementations + Add ↵Libravatar Olivier Pinon1-0/+56
pokedex example in CI so that at least one async example is runned on CI
2020-04-02Fix missing link in `Command` documentationLibravatar Héctor Ramón Jiménez1-0/+1
2020-03-26Simplify `iced_futures::Command` implementationLibravatar Héctor Ramón Jiménez1-8/+99
2020-02-05Drop `Send` in `Command` and `Executor` on WasmLibravatar Héctor Ramón Jiménez1-97/+8
2020-01-19Create `iced_futures` and wire everything upLibravatar Héctor Ramón Jiménez1-0/+0
2020-01-16Take `IntoIterator` instead of `Iterator`Libravatar Héctor Ramón Jiménez1-2/+5
2019-12-28Fix `Command::batch` documentationLibravatar Héctor Ramón Jiménez1-1/+1
2019-12-19Implement `Command::map`Libravatar Héctor Ramón Jiménez1-0/+25
2019-12-14Write docs for subscriptions and reorganize a bitLibravatar Héctor Ramón Jiménez1-2/+2
2019-11-22Write docs for `iced` and `iced_native`Libravatar Héctor Ramón Jiménez1-1/+1
2019-11-18Write documentation for `iced_core`Libravatar Héctor Ramón Jiménez1-0/+23
2019-11-18Rename `Command::attempt` to `Command::perform`Libravatar Héctor Ramón Jiménez1-1/+1
2019-11-17Implement future-based `Command` in `iced_core`Libravatar Héctor Ramón Jiménez1-0/+49