]> gitweb.factorcode.org Git - factor.git/commit
concurrency.distributed: implement with-connection combinator
authorAlexander Iljin <ajsoft@yandex.ru>
Wed, 10 Jan 2018 04:21:54 +0000 (07:21 +0300)
committerDoug Coleman <doug.coleman@gmail.com>
Sat, 20 Jan 2018 15:43:40 +0000 (09:43 -0600)
commit762268f2fe9022a59b8b55281d96940fae33a73b
tree719e37e85ffbd9dd1e5520f5fbc5a72472401482
parent72ed5bf73d74c57eefb6d8d9087826bfbaa3fbf0
concurrency.distributed: implement with-connection combinator

This allows to send multiple messages over the same socket connection. The
old implementation used with-client, which sent a single message and then
closed the socket. The connection stream is stored in the new remote-thread
tuple slot named connection.
basis/concurrency/distributed/distributed.factor