【发布时间】:2016-05-30 15:51:32
【问题描述】:
我正在尝试使用 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 日星期四 11:21:39)。
pubspec.yaml
name: fibFuturesConcu
version: 0.0.1
description: A simple console application.
dependencies:
worker: any
更新
显然,稳定版本的 Dart (1.16.0) 不会发生这种情况。
【问题讨论】:
-
我明白了。但无法帮助您解决问题。
-
你能包含你的 pubspec.yaml 的内容吗?还有你用什么版本的飞镖?
-
@PiKos 我已经用更多信息更新了这个问题。
-
@PiKos 刚查了一下,在Stable中没有发生,所以我猜这是一个错误......?
标签: dart dart-isolates