Copyright | (c) Winterland 2017-2018 |
---|---|
License | BSD |
Maintainer | drkoster@qq.com |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- withUVInitDo :: IO a -> IO a
Documentation
withUVInitDo :: IO a -> IO a Source #
withUVInitDo
is necessary for some socket code because on windows WSAStartup has to be called
before use sockets.
This functions will run uv__once_init
once if not run before,