Update documentation

This commit is contained in:
Alexander Heldt
2025-11-25 20:58:21 +01:00
parent 34ff51881f
commit 35d331a753
3 changed files with 10 additions and 15 deletions

View File

@@ -8,14 +8,8 @@ import musicplayer/ui/ui
pub fn main() -> Nil {
let input_keys_name: Name(Key) = process.new_name("input_keys")
// `input_inject` is created by name to allow the `input` process that
// owns `read_input` to be able to register and receive from it,
// while the any other processes can use the name reference to
// inject input
let input_inject_name: Name(Key) = process.new_name("input_inject_keys")
// TODO should input.new just return the inject_subject?
input.new(input_keys_name, input_inject_name)
let assert Ok(ui) = ui.new()