Skip to content

Commit

Permalink
docs: fix Scheduler#runJobs jsdoc comment line length
Browse files Browse the repository at this point in the history
  • Loading branch information
bowheart committed Feb 2, 2024
1 parent b11c477 commit 3b525e3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/atoms/src/classes/Scheduler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,12 @@ export class Scheduler implements SchedulerInterface {
/**
* Run either all "full" jobs or all "now" jobs. Since the jobs are split, we
* can essentially have two schedulers running at once. "Now" jobs must always
* run before any "full" jobs, so the "full" jobs runner has to flush any "now"s that come up while it's flushing "full"s.
* run before any "full" jobs, so the "full" jobs runner has to flush any
* "now"s that come up while it's flushing "full"s.
*
* Don't run "full" jobs while "now"s are running. It leads to "now"s being deferred until after "full"s finish. This is backwards and can lead to reevaluation loops.
* Don't run "full" jobs while "now"s are running. It leads to "now"s being
* deferred until after "full"s finish. This is backwards and can lead to
* reevaluation loops.
*/
private runJobs(isNows?: boolean) {
// we prevent this function from running at all if no "full" jobs are
Expand Down

0 comments on commit 3b525e3

Please sign in to comment.