Skip to content

Commit

Permalink
feat: Add support for reconnecting in RPC disconnect method
Browse files Browse the repository at this point in the history
  • Loading branch information
PlugFox committed Jul 20, 2024
1 parent 4a08a9f commit c9c3004
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/transport_ws_pb_js.dart
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ final class _BlobCodec {

@internal
Future<List<int>> read(web.Blob blob) async {
// TODO(plugfox): that async have a concurrency problem
final arrayBuffer = await blob.arrayBuffer().toDart;
final bytes = arrayBuffer.toDart.asUint8List();
return bytes;
Expand Down

0 comments on commit c9c3004

Please sign in to comment.