Skip to content

Commit 10b8977

Browse files
committed
more naming
1 parent 29322d2 commit 10b8977

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

src/core/reactor.ts

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,8 @@ export abstract class Reactor extends Component {
792792
deadline?: TimeValue,
793793
late: (this: ReactionSandbox, ...args: ArgList<T>) => void = () => {
794794
Log.global.warn("Deadline violation occurred!");
795-
}
795+
},
796+
name?: string
796797
): void {
797798
const calleePorts = trigs.filter((trig) => trig instanceof CalleePort);
798799

@@ -806,7 +807,8 @@ export abstract class Reactor extends Component {
806807
args,
807808
react,
808809
deadline,
809-
late
810+
late,
811+
name
810812
);
811813
if (trigs.length > 1) {
812814
// A procedure can only have a single trigger.
@@ -830,7 +832,8 @@ export abstract class Reactor extends Component {
830832
args,
831833
react,
832834
deadline,
833-
late
835+
late,
836+
name
834837
);
835838
// Stage it directly if it to be triggered immediately.
836839
if (reaction.isTriggeredImmediately()) {
@@ -851,7 +854,8 @@ export abstract class Reactor extends Component {
851854
deadline?: TimeValue,
852855
late: (this: MutationSandbox, ...args: ArgList<T>) => void = () => {
853856
Log.global.warn("Deadline violation occurred!");
854-
}
857+
},
858+
name?: string
855859
): void {
856860
const mutation = new Mutation(
857861
this,
@@ -860,7 +864,8 @@ export abstract class Reactor extends Component {
860864
args,
861865
react,
862866
deadline,
863-
late
867+
late,
868+
name
864869
);
865870
// Stage it directly if it to be triggered immediately.
866871
if (mutation.isTriggeredImmediately()) {

0 commit comments

Comments
 (0)