Created
July 21, 2020 15:27
-
-
Save fernyettheplant/d90f95b77e9d0e63257080f9a928fba3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const LaunchDarkly = require('launchdarkly-node-server-sdk') | |
const ldClient = LaunchDarkly.init('SDK_KEY') | |
const ready = ldClient.waitForInitialization() | |
module.exports.myhandler = function (event, context, cb) { | |
ready.then((client) => { | |
// Check yout FF here | |
}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment