Skip to content

Make Timer class available on client side in stead of window.setTimeout #757

Closed
@DartBot

Description

@DartBot

This issue was originally filed by [email protected]


I noticed the Timer class runtime/bin is only available in the dart shell on the server. On the client side one has to use the window.setTimeout function.

Wouldn't it be more intuitive if both environments share the same way of starting a timer? I don't see any reason why the Timer class couldn't be built around window.setTimeout in javascript.

Metadata

Metadata

Assignees

Labels

area-core-librarySDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions