transient icon indicating copy to clipboard operation
transient copied to clipboard

callService shouldn't need a previous established connection to call services

Open hughjfchen opened this issue 5 years ago • 1 comments

Currently, before you can use callService/callService' to call services on other nodes, you must use connection, listen or initNode established some connection state. This restrict should be removed because callService/callService' know how to connect to the node where the services it wants to call located.

hughjfchen avatar Oct 24 '19 12:10 hughjfchen

in the meantime, runCloud callService... work fine to call services under the TranIO monad.

callService is asynchronous, so it will execute alternative computations. If that is not desired, use sync . runCloud $ callservice..

agocorona avatar Mar 04 '20 07:03 agocorona