Skip to content
This repository was archived by the owner on Oct 4, 2018. It is now read-only.
This repository was archived by the owner on Oct 4, 2018. It is now read-only.

Transition entire api to async #47

@cobbdb

Description

@cobbdb

defineSlot() and load() will need callbacks. One option is to expose a promise:

harmony.defineSlot({..}).then(function (slot) {
    // do things with the slot.
});

... or with normal callbacks ...

harmony.defineSlot({..}, function (slot) {
    // do things with the slot.
});

The goal is to wrap the api inside of googletag.cmd for stability.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions