@cucumber/cucumber
Version:
The official JavaScript implementation of Cucumber.
16 lines (15 loc) • 693 B
TypeScript
import { EventEmitter } from 'node:events';
import { IdGenerator } from '@cucumber/messages';
import { SourcedPickle } from '../assemble';
import { SupportCodeLibrary } from '../support_code_library_builder/types';
import { RuntimeAdapter } from './types';
import { Runtime } from './index';
export declare class Coordinator implements Runtime {
private eventBroadcaster;
private newId;
private sourcedPickles;
private supportCodeLibrary;
private adapter;
constructor(eventBroadcaster: EventEmitter, newId: IdGenerator.NewId, sourcedPickles: ReadonlyArray<SourcedPickle>, supportCodeLibrary: SupportCodeLibrary, adapter: RuntimeAdapter);
run(): Promise<boolean>;
}