Skip to content

Chimerapps/dart_tooling_announcement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A helper library for creating tooling announcement servers for tools such as niddler

license.

Usage

A simple usage example:

import 'package:dart_service_announcement/dart_service_announcement.dart';

class DemoServer extends ToolingServer {
  @override
  int get port => 10290;

  @override
  int get protocolVersion => 4;
}

Future<void> main() async {
  final manager = ServerAnnouncementManager('com.example.test', 6394, DemoServer());

  await manager.start();

  //Run tooling server etc

  const waitDuration = Duration(seconds: 1000000);

  await Future.delayed(waitDuration);

  await manager.stop();
}

Features and bugs

Please file feature requests and bugs at the issue tracker.

About

Dart library for tooling announcement simplification

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages