UNPKG

@atlaskit/editor-common

Version:

A package that contains common classes and components for editor and renderer

16 lines 342 B
/** * Composite check that combines multiple checks. * * Starts and stops all contained checks. */ export class ExperienceCheckComposite { constructor(checks) { this.checks = checks; } start(callback) { this.checks.forEach(check => check.start(callback)); } stop() { this.checks.forEach(check => check.stop()); } }