segevfiner/keepawake-rs

Expose a builder API from the library crate

Closed this issue · 0 comments

Instead of a struct, we should expose a builder API, since the resulting object needs to keep the options around it will likely need to be a consuming builder so as to not impose Awake needing a lifetime parameter and the user to keep the builder object alive.