Let f(x) be an expensive operation which changes something to (or towards) state x. At most one f call may be in progress at any time. This type orchestrates a series of operations that eventually bring the state to some goal, while allowing the goal to change at any time.
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
ae.utils.statequeue