Update documentation
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user