Skip to content

Commit

Permalink
add doc
Browse files Browse the repository at this point in the history
  • Loading branch information
rmgk committed Nov 24, 2024
1 parent 36370bb commit 2da4093
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ trait LatentConnection[T] {
/** The returned async, when run, should establish connections with the given callback atomically.
* That is, no messages should be lost during setup.
* Similarly, the provider of the callback (the result of `incoming`) of this method should make sure that the other end of the callback is ready to receive callbacks before running the async.
*
* It is not safe to call prepare multiple times.
*/
def prepare(incomingHandler: Handler[T]): Async[Abort, Connection[T]]
}
Expand Down

0 comments on commit 2da4093

Please sign in to comment.