Permalink
Browse files

Browser: bind to disconnect() and pages()

  • Loading branch information...
zploskey committed Mar 16, 2018
1 parent e85dbe5 commit cdc47e39d6fb7e1ad33197ebb59d7fea749795d1
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/Browser.re
@@ -4,8 +4,12 @@ external empty : unit => t = "%identity";

[@bs.send.pipe: t] external close : Js.Promise.t(unit) = "";

[@bs.send] external disconnect : t => unit = "";

[@bs.send.pipe: t] external newPage : Js.Promise.t(Page.t) = "";

[@bs.send] external pages : t => Js.Promise.t(array(Page.t)) = "";

[@bs.send.pipe: t] external version : Js.Promise.t(string) = "";

[@bs.send.pipe: t] external wsEndpoint : string = "";

0 comments on commit cdc47e3

Please sign in to comment.