diff --git a/lib/src/raw_receive_port_multiplexer.dart b/lib/src/raw_receive_port_multiplexer.dart index d5cd25e..0e45f4b 100644 --- a/lib/src/raw_receive_port_multiplexer.dart +++ b/lib/src/raw_receive_port_multiplexer.dart @@ -35,7 +35,7 @@ class _MultiplexRawReceivePort implements RawReceivePort { _MultiplexRawReceivePort(this._multiplexer, this._id, this._handler); - void set handler(void handler(response)) { + void set handler(Function handler) { this._handler = handler; }