我正在尝试使用Worker软件包和PostgreSQL软件包。
我不知道为什么,但如果我在跑的例子https://diegorochablog.wordpress.com/2014/02/18/worker-dart-concurrent-programming-does-not-have-to-be-hard/后除了添加一条import
语句外import 'package:postgresql/postgresql.dart';
,不做任何更改:该示例停止工作(execute
未调用任务的)。
Dart VM版本:“ macos_x64”上的1.17.0-dev.4.1(2016年5月19日,星期四)。
name: fibFuturesConcu
version: 0.0.1
description: A simple console application.
dependencies:
worker: any
显然,稳定版的Dart(1.16.0)不会发生这种情况。
使用Dart Stable 1.16时问题不再存在。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句