Home Reference Source Repository

Variable

Static Public Summary
public

When using schQ, you will write a last, which is an array of what you wish to happen after your sequence completes.

Static Public

public doLast: Array source

import {doLast} from 'schq/src/src/index.js'

When using schQ, you will write a last, which is an array of what you wish to happen after your sequence completes. The default is a noop

const last = [[() => {} ]];

Example:

const schq = new SchQ({
  last: [{type:'done', opperation: () => console.log('done')}]
});