( options: Net.ServerOpts & Net.ListenOptions )
| 68 | * @since 4.0.0 |
| 69 | */ |
| 70 | export const make = ( |
| 71 | options: Net.ServerOpts & Net.ListenOptions |
| 72 | ): Effect.Effect< |
| 73 | SocketServer.SocketServer["Service"], |
| 74 | SocketServer.SocketServerError, |
| 75 | Scope.Scope |
| 76 | > => |
| 77 | makeNetServer({ |
| 78 | listenOptions: options, |
| 79 | connectionEvent: "connection", |
| 80 | createServer: () => Net.createServer(options) |
| 81 | }) |
| 82 | |
| 83 | /** |
| 84 | * Provides a TCP `SocketServer` by creating and managing a scoped Node |
no outgoing calls
no test coverage detected