add task manager

This commit is contained in:
2024-02-17 15:22:26 +08:00
parent 02b211ab99
commit 7cec3fd320
17 changed files with 430 additions and 21 deletions

View File

@@ -0,0 +1,6 @@
import 'package:web_socket_channel/html.dart';
import 'package:web_socket_channel/web_socket_channel.dart';
Future<WebSocketChannel> connectWebSocket(Uri uri) async {
return HtmlWebSocketChannel.connect(uri, binaryType: BinaryType.list);
}