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.

await on client.close() #268

Description

@lepirlouit

Describe the bug
page : https://docs.launchdarkly.com/guides/infrastructure/aws-lambda#flushing-events
The documentation says to await on client.close() but this seems not to be a promise, so await it not needed
but it also says that close will call client.flush() which is a promise.
should client.close() be an async function and wait on the flush ?

SDK version
7.0.0

Language version, developer tools
node --version
v16.19.0

OS/platform
Ubuntu 22.04

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

    Stalewaiting for feedbackIndicates LaunchDarkly is waiting for customer feedback before issue is closed due to staleness.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions