- Add inbound_gateway.dart, inbound_gateway_io.dart, inbound_gateway_web.dart - Update communicator.dart and proto_socket.dart for inbound queue support - Update browser_ws_import_compile.dart and communicator_test.dart - Archive Dart gateway task (04_dart_gateway) - Create plan and code review docs for go/kotlin/python/typescript gateways - Update roadmap files (ROADMAP.md, current.md, inbound-queue-ordering.md)
16 lines
416 B
Dart
16 lines
416 B
Dart
import 'package:proto_socket/proto_socket.dart';
|
|
|
|
void main() {
|
|
final types = <Type>[
|
|
WsProtobufClient,
|
|
PacketBase,
|
|
Transport,
|
|
// Anchors that the IO worker gateway's conditional export resolves to a
|
|
// web-safe stub without pulling dart:io / dart:isolate into the web build.
|
|
InboundGateway,
|
|
IsolateInboundGateway,
|
|
];
|
|
if (types.isEmpty) {
|
|
throw StateError('unreachable');
|
|
}
|
|
}
|