Sign in
dart
/
sdk.git
/
4bd009581cc4cae4f891371d170643f02e16ddac
/
.
/
tests
/
lib_strong
/
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'
);
});
}