mirror of
https://github.com/c-cube/nanoev.git
synced 2025-12-06 11:15:48 -05:00
fix: update example
This commit is contained in:
parent
14d744c369
commit
9b7c628506
1 changed files with 1 additions and 1 deletions
|
|
@ -124,7 +124,7 @@ let () =
|
||||||
| `Posix -> Nanoev_posix.create ()
|
| `Posix -> Nanoev_posix.create ()
|
||||||
| `Unix -> Nanoev_unix.create ()
|
| `Unix -> Nanoev_unix.create ()
|
||||||
in
|
in
|
||||||
let@ () = Nanoev_picos.with_setup_bg_thread ev in
|
let@ () = Nanoev_picos.Background_thread.with_setup ev in
|
||||||
|
|
||||||
let server =
|
let server =
|
||||||
Nanoev_tiny_httpd.create ~new_thread:(Moonpool.run_async pool) ~port:!port_
|
Nanoev_tiny_httpd.create ~new_thread:(Moonpool.run_async pool) ~port:!port_
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue