addIntegration
addIntegration
allows you to add an integration from within an integration.
It will also do a check using hasIntegration to check whether the integration you’re trying to add has already been added. If it has, it won’t add it again.
Ensuring unique integrations
By default addIntegration
will fail if you try to add an integration that’s already
been added.
You can bypass this and add it anyway with the ensureUnique
flag.