Home Reference Source Repository

Variable

Static Public Summary
public

drawComplete: Observable: *

drawComplete: When you need to know when the asynchronous sequence you have created has ended.

public

subscription: Observable: *

drawComplete: a disposable to dispose of a load sequence if you wish to remove it from memory

Static Public

public drawComplete: Observable: * source

import {drawComplete} from 'grizzy/src/main/scheduler/pipeline.js'

drawComplete: When you need to know when the asynchronous sequence you have created has ended. This will only fire when every step completes, but not when load is called interrupting a sequence midway through.

Return:

Observable

subscription to final event of sequence.

Example:

// with rxjs
...
  .whatEverYourCurrentStreamIsToTiggerEvents
  .merge(drawComplete)
  .map(....)

// or as a promise
let promise = new Promise(function(resolve) {
  drawComplete.subscribe(x => resolve(x));
});

promise
  .then(function(resolve) {
    ...do something
  });

public subscription: Observable: * source

import {subscription} from 'grizzy/src/main/scheduler/pipeline.js'

drawComplete: a disposable to dispose of a load sequence if you wish to remove it from memory

Return:

Observable

subscription disposable.

Example:

subscription.dispose();