-- A state object whose value is derived from other objects using a callback.

export type ComputedPairs<K, VI, VO> = PubTypes.ComputedPairs<K, VO> & {
	_oldDependencySet: Set<PubTypes.Dependency>,
	_processor: (K, VI) -> VO,
	_destructor: (VO) -> (),
	_inputIsState: boolean,
	_inputTable: PubTypes.CanBeState<{[K]: VI}>,
	_oldInputTable: {[K]: VI},
	_outputTable: {[K]: VO},
	_oldOutputTable: {[K]: VO},
	_keyData: {[K]: {
		dependencySet: Set<PubTypes.Dependency>,
		oldDependencySet: Set<PubTypes.Dependency>,
		dependencyValues: {[PubTypes.Dependency]: any}
	}}
}
