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.

client.variation should not release zalgo #69

@jvivs

Description

@jvivs

client.variation has an error-first callback interface, it unfortunately does not appear to follow the pattern completely.

Instead of always calling callbacks asynchronously, callbacks in the variation method could be called either sync or async.

This is a serious issue that introduces inconsistencies in code execution and impedes the ability for consumers to be able to reason about your. Without following this pattern to the letter, you release zalgo.

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