UNPKG

@pronix/hyper-flow

Version:

Framework for building progressive console applications on node.js platform

12 lines (8 loc) 294 B
import { HyperContext } from "../Hyper/HyperContext"; export function generateContexts(amount: number): Array<HyperContext> { const contexts: Array<HyperContext> = [] for (let i = 0; i < amount; i++) { contexts.push(new HyperContext()) } return contexts }