Sign in
dart
/
sdk
/
c0ac8a57cee1fd77ced9ad18bd8d3c83778cfa08
/
.
/
tests
/
html
/
async_oneshot.dart
blob: 3ed24f16c2422d8154fc4f8d68e3f034ef113711 [
file
] [
log
] [
blame
]
import
'dart:async'
;
import
'package:unittest/unittest.dart'
;
main
(
message
,
replyTo
)
{
var
command
=
message
.
first
;
expect
(
command
,
'START'
);
new
Timer
(
const
Duration
(
milliseconds
:
10
),
()
{
replyTo
.
send
(
'DONE'
);
});
}