Skip to content

Commit

Permalink
Work on #257. commentary for when:doOnce:
Browse files Browse the repository at this point in the history
  • Loading branch information
labordep committed Nov 1, 2023
1 parent 96a70eb commit ce98e69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Bloc/TBlEventTarget.trait.st
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ TBlEventTarget >> when: anEventClass do: aBlock [

{ #category : #'event management' }
TBlEventTarget >> when: anEventClass doOnce: aBlock [
"Install an event handler just for one execution. After that the event handler is called, remove it"
| anEventHandler |

anEventHandler := nil.
Expand Down

0 comments on commit ce98e69

Please sign in to comment.