sig/server.rbs in macaw_framework-0.1.4 vs sig/server.rbs in macaw_framework-0.1.5
- old
+ new
@@ -1,16 +1,25 @@
class Server
@bind: String
@macaw: MacawFramework::Macaw
@macaw_log: Logger
+ @num_threads: Integer
@port: Integer
@server: TCPServer
+ @threads: Integer
+
+ @work_queue: Thread::Queue
+
+ @workers: Array[Thread]
+
def close: -> nil
def run: -> nil
private
def call_endpoint: -> Array[untyped]
+
+ def handle_client: -> nil
end