We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 516db77 commit ef2c69dCopy full SHA for ef2c69d
sig/server.rbs
@@ -30,7 +30,7 @@ module WEBrick
30
31
def listen: (String address, Integer port) -> void
32
33
- def start: () { (TCPSocket) -> void } -> void
+ def start: () ?{ (TCPSocket) -> void } -> void
34
35
def stop: () -> void
36
@@ -42,7 +42,7 @@ module WEBrick
42
43
def accept_client: (TCPServer svr) -> TCPSocket?
44
45
- def start_thread: (TCPSocket sock) { (TCPSocket) -> void } -> Thread
+ def start_thread: (TCPSocket sock) ?{ (TCPSocket) -> void } -> Thread
46
47
def call_callback: (Symbol callback_name, *untyped args) -> untyped
48
0 commit comments