导入Postgresql程序包时工作程序包失灵

阿隆·阿米尔(Alon Amir)|

我正在尝试使用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日,星期四)。

pubspec.yaml

name: fibFuturesConcu
version: 0.0.1
description: A simple console application.
dependencies:
  worker: any

更新

显然,稳定版的Dart(1.16.0)不会发生这种情况。

阿隆·阿米尔(Alon Amir)|

使用Dart Stable 1.16时问题不再存在。

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章