b5a67b0

Bowmap · bowmap.git · Tickets

Branches > main > b5a67b0 > files / src

Document frame channel lifecycles in connections

Grahp, 2026-09-13

Commit: b5a67b055e071b0652a75c77c48e600e5bc65c7e
Parent: 12be7f8

1 changed file:

src/net/bowmap/server/network/connection.clj modified (view file)

@@ -13,7 +13,8 @@ (defn connection   "Returns a connection from a given java.net.Socket.    Connection has keys [::clientbound-frames ::serverbound-frames], both-   channels of clientbound and serverbound frames respectively."+   channels of clientbound and serverbound frames respectively.+   The lifecycles of the client socket and both frame channels are coupled."   [socket]   (let [clientbound-frames (chan 128)         serverbound-frames (chan 128)