Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.
This repository was archived by the owner on May 30, 2024. It is now read-only.

allFlagsState hangs when passing callback but no options #114

Description

@gabegorelick

Even though the options parameter for allFlagsState is supposed to be optional [1], it's actually required when passing a callback:

ldClient.allFlagsState(user,callback);// this hangsldClient.allFlagsState(user,{},callback);// this works

[1] https://github.com/launchdarkly/node-client/blob/62903ce09aa3311cecd126baff327958fc075eed/index.d.ts#L550-L569

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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