e58efcb049
This change adds the happy path for DTD_impl and DTD being able to: - register streams - register serviceMethods - postEvents to streams - call serviceMethods Change-Id: I73865071745ef19a4493f86714e0855930243dd5 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/341700 Reviewed-by: Ben Konyi <bkonyi@google.com> Reviewed-by: Kenzie Davisson <kenzieschmoll@google.com> Commit-Queue: Dan Chevalier <danchevalier@google.com>
14 lines
488 B
Dart
14 lines
488 B
Dart
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
import 'package:dtd/dtd.dart';
|
|
|
|
void main() {
|
|
// TODO(@danchevalier) make simple testing services for ide's to know that
|
|
// things are working.
|
|
|
|
// TODO(@danchevalier): make this example meaningful
|
|
DartToolingDaemon.connect(Uri.parse('wss://127.0.0.1:12345'));
|
|
}
|