diff options
author | Dominik Picheta <dominikpicheta@googlemail.com> | 2014-12-26 19:21:34 +0000 |
---|---|---|
committer | Dominik Picheta <dominikpicheta@googlemail.com> | 2014-12-26 19:21:34 +0000 |
commit | f972b464cb2addda7be05d5791e8d3ef06205286 (patch) | |
tree | a640b08cdacb079e456dc8bbbd86df6c5466c4b7 /lib | |
parent | c35182aca76c88d0514538d5926a8383d0cbc095 (diff) | |
download | Nim-f972b464cb2addda7be05d5791e8d3ef06205286.tar.gz |
Deprecated asyncio module. Fixed old tests.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pure/asyncio.nim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/pure/asyncio.nim b/lib/pure/asyncio.nim index 4c25952a8..d40c3849e 100644 --- a/lib/pure/asyncio.nim +++ b/lib/pure/asyncio.nim @@ -10,6 +10,11 @@ include "system/inclrtl" import sockets, os +## +## **Warning:** This module is deprecated since version 0.10.2. +## Use the brand new `asyncdispatch <asyncdispatch.html>`_ module together +## with the `asyncnet <asyncnet.html>`_ module. + ## This module implements an asynchronous event loop together with asynchronous ## sockets which use this event loop. ## It is akin to Python's asyncore module. Many modules that use sockets @@ -90,6 +95,8 @@ import sockets, os ## var client: Socket ## getSocket(s).accept(client) +{.deprecated.} + when defined(windows): from winlean import TimeVal, SocketHandle, FD_SET, FD_ZERO, TFdSet, FD_ISSET, select |