@launchdarkly/node-server-sdk - v9.16.4
    Preparing search index...

    Type Alias LDMethodResult<TResult>

    LDMethodResult:
        | { result: TResult; success: true }
        | { error: any; success: false }

    Migration methods may return an LDMethodResult. The implementation includes methods for creating results conveniently.

    An implementation may also throw an exception to represent an error.

    Type Parameters

    • TResult