summaryrefslogtreecommitdiff
path: root/py/objmodule.c
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-04-09 16:03:38 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-04-09 16:03:38 +0300
commit5b1c2217856503f29bf455a44ca23e32c43a2008 (patch)
tree7584454f584d21b3c6428c6987a640a9ee4818dd /py/objmodule.c
parent397b7056471f5644e1d9ad32426a2789b96d43d7 (diff)
extmod/modwebsocket: Add option for blocking writes to non-blk sockets.
This is strange asymmetry which is sometimes needed, e.g. for WebREPL: we want to process only available input and no more; but for output, we want to get rid of all of it, because there's no other place to buffer/store it. This asymmetry is akin to CPython's asyncio asymmetry, where reads are asynchronous, but writes are synchronous (asyncio doesn't expect them to block, instead expects there to be (unlimited) buffering for any sync write to completely immediately).
Diffstat (limited to 'py/objmodule.c')
0 files changed, 0 insertions, 0 deletions