Skip to content

Commit

Permalink
Remove unused example code.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gary Coady committed Apr 2, 2018
1 parent 2811300 commit 7fd8895
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions example/server/src/main/scala/Main.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ object Main {
val server: Server =
ServerBuilder.forPort(9999).addService(helloService).build()

val serverStream: Stream[IO, Server] =
Stream.bracket(IO(server.start()))(
Stream.emit[Server],
(server: Server) => IO(server.shutdown()))

def main(args: Array[String]): Unit = {
server.start()
server.awaitTermination()
Expand Down

0 comments on commit 7fd8895

Please sign in to comment.