[−][src]Attribute Macro bitbar_derive::main
#[main]
Annotate your main
function with this.
- It can be a
fn
or anasync fn
. In the latter case,tokio
's threaded runtime will be used. - It must return a
Result<Menu, E>
, for someE
that implementsInto<Menu>
.