Skip to content

Should this library absorb js-timers? #37

Description

@thomashoneyman

As described in purescript-contrib/purescript-js-timers#18:

When reviewing the timers API I discovered that the relevant MDN documentation is marked obsolete and that functions like setInterval are now part of the WindowOrWorkerGlobalScope mixin, which covers the window object and web workers API.

With that in mind, it seems like the web-html library should perhaps have the additional window functions setTimeout, setInterval, etc. added to them, and this library should be deprecated.

Specifically, these methods are supported, which is more than just the set / clear timeout / interval functions, but it would be a good start to move the relevant js-timers functions here and deprecate that library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: breaking changeA change that requires a major version bump.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions