pub fn do_fetch( request: Request(BitArray), ) -> Promise(Result(Response(BitArray), FetchError))
pub fn run( task: Effect(a), root: String, ) -> Promise(Result(a, Snag))
pub fn watch( task: Effect(a), root: String, callback: fn(Result(a, Snag)) -> Nil, ) -> Promise(Nil)