Airdeploy Documentation

Airdeploy Documentation

    ›Flagger SDK

    Overview

    • Home
    • Introduction

    Flagger SDK

    • Overview
    • Quick Start
    • Flag Detection
    • Flag Functions
    • Tracking API
    • Default Variation
    • Ingestion
    • Attributes
    • FAQ

    API Reference

    • Javascript
    • React
    • Java
    • Ruby
    • Python
    • Golang
    • iOS

    Concepts

    • Flags
    • Entities
    • Groups
    • Targeting Methods

    Dashboard

    • Organizations
    • Projects
    • Environments
    • Managing Flags
    • Configuring Flags
    • Flag History
    • Flag Preview
    • Team

    Ingestion

    Flagger collects every "decision" that was made (for example, whether isEnabled true or false for a given entity), and then sends it to populate the Airdeploy dashboard. This data is used to populate known entities, set up filters, and preview how flag assignments will be made.

    Flagger caches ingestions and sends them to Airdeploy automatically.

    Shutdown Flagger gracefully at the end of the application's runtime to send cached ingestion:

    Javascript
    Ruby
    Python
    Go
    Java
    Swift
    await Flagger.shutdown() // shutdown is a Promise
    Flagger.shutdown(3000)
    Flagger.shutdown(3000)
    Flagger.shutdown(3000)
    Flagger.shutdown(3000)
    let isTimeOut = Flagger.shutdown(timeoutMillis: 1000)
    ← Default VariationAttributes →
    Airdeploy Documentation
    Docs
    Getting StartedAPI Reference
    More
    Airdeploy GitHub
    Copyright © 2021 Airdeploy