Some checks failed
Main Confidence / confidence (push) Failing after 45s
## Summary - introduce surface-aware compressed governance outcomes and reuse the shared truth/explanation seams for operator-first summaries - apply the compressed outcome hierarchy across baseline, evidence, review, review-pack, canonical review/evidence, and artifact-oriented operation-run surfaces - expand spec 214 fixtures and Pest coverage, and fix tenant-panel route assertions by generating explicit tenant-panel URLs in the affected Filament tests ## Validation - `cd apps/platform && ./vendor/bin/sail bin pint --dirty --format agent` - focused governance compression suite from `specs/214-governance-outcome-compression/quickstart.md` passed (`68` tests, `445` assertions) - `cd apps/platform && ./vendor/bin/sail artisan test --compact tests/Feature/Filament/InventoryItemResourceTest.php tests/Feature/Filament/BackupSetUiEnforcementTest.php tests/Feature/Filament/RestoreRunUiEnforcementTest.php` passed (`18` tests, `81` assertions) Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de> Reviewed-on: #253
48 lines
2.4 KiB
Plaintext
48 lines
2.4 KiB
Plaintext
import { AsyncAction } from './AsyncAction';
|
|
import { Subscription } from '../Subscription';
|
|
import { AsyncScheduler } from './AsyncScheduler';
|
|
import { SchedulerAction } from '../types';
|
|
import { TimerHandle } from './timerHandle';
|
|
export declare class VirtualTimeScheduler extends AsyncScheduler {
|
|
maxFrames: number;
|
|
/** @deprecated Not used in VirtualTimeScheduler directly. Will be removed in v8. */
|
|
static frameTimeFactor: number;
|
|
/**
|
|
* The current frame for the state of the virtual scheduler instance. The difference
|
|
* between two "frames" is synonymous with the passage of "virtual time units". So if
|
|
* you record `scheduler.frame` to be `1`, then later, observe `scheduler.frame` to be at `11`,
|
|
* that means `10` virtual time units have passed.
|
|
*/
|
|
frame: number;
|
|
/**
|
|
* Used internally to examine the current virtual action index being processed.
|
|
* @deprecated Internal implementation detail, do not use directly. Will be made internal in v8.
|
|
*/
|
|
index: number;
|
|
/**
|
|
* This creates an instance of a `VirtualTimeScheduler`. Experts only. The signature of
|
|
* this constructor is likely to change in the long run.
|
|
*
|
|
* @param schedulerActionCtor The type of Action to initialize when initializing actions during scheduling.
|
|
* @param maxFrames The maximum number of frames to process before stopping. Used to prevent endless flush cycles.
|
|
*/
|
|
constructor(schedulerActionCtor?: typeof AsyncAction, maxFrames?: number);
|
|
/**
|
|
* Prompt the Scheduler to execute all of its queued actions, therefore
|
|
* clearing its queue.
|
|
*/
|
|
flush(): void;
|
|
}
|
|
export declare class VirtualAction<T> extends AsyncAction<T> {
|
|
protected scheduler: VirtualTimeScheduler;
|
|
protected work: (this: SchedulerAction<T>, state?: T) => void;
|
|
protected index: number;
|
|
protected active: boolean;
|
|
constructor(scheduler: VirtualTimeScheduler, work: (this: SchedulerAction<T>, state?: T) => void, index?: number);
|
|
schedule(state?: T, delay?: number): Subscription;
|
|
protected requestAsyncId(scheduler: VirtualTimeScheduler, id?: any, delay?: number): TimerHandle;
|
|
protected recycleAsyncId(scheduler: VirtualTimeScheduler, id?: any, delay?: number): TimerHandle | undefined;
|
|
protected _execute(state: T, delay: number): any;
|
|
private static sortActions;
|
|
}
|
|
//# sourceMappingURL=VirtualTimeScheduler.d.ts.map |