-
Notifications
You must be signed in to change notification settings - Fork 92
Closed
input-output-hk/typed-protocols
#72Labels
PI-9Issues / PRs related to PI-9Issues / PRs related to PI-9documentationNetwork Documentation related tasksNetwork Documentation related taskstyped-protocolsIssues related to typed-protocolsIssues related to typed-protocols
Description
@dcoutt noted:
It's probably a general thing we should clarify in our docs for typed protocols
and the network framework etc:Do not allocate resources within a protocol
handler. Have all resources allocated (with appropriate bracketing) and passed
into the protocol handler.Protocol handlers get killed unceremnoiusly, and the
(continuation) style in which they are written does not support resource
cleanup.
Metadata
Metadata
Assignees
Labels
PI-9Issues / PRs related to PI-9Issues / PRs related to PI-9documentationNetwork Documentation related tasksNetwork Documentation related taskstyped-protocolsIssues related to typed-protocolsIssues related to typed-protocols
Type
Projects
Status
Done