Skip to content

using Timer._called #1539

Description

@ORESoftware

How stable/safe is it to reference _called on a timer for library code?

const to = setTimeout(() => {
  console.log(to._called);
}, 10);

console.log(to._called);

before it times out, it is false, after it times out, it is true.
Is this a stable API, can we use it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions