[Pharo-project] Issue 3253 in pharo: Announcer. Extraction ActionSequence creation in subscription logic
Status: New Owner: ---- New issue 3253 by Dionisiygod: Announcer. Extraction ActionSequence creation in subscription logic http://code.google.com/p/pharo/issues/detail?id=3253 ActionSequence creation in subscribtion logic of announcer should be extracted. With this little change different kind of announcing logic could be simple implemented (for example, asynchronous announcer with its own actionSequence implementation) Announcer>>subscribe: anAnnouncementClass do: aValuable | actions | subscriptions ifNil: [ subscriptions := IdentityDictionary new ]. actions := subscriptions at: anAnnouncementClass ifAbsent: [ self createActionSequence ]. subscriptions at: anAnnouncementClass put: (actions copyWith: aValuable). ^ aValuable Attachments: Announcer-subscribedo.st 479 bytes Announcer-createActionSequence.st 218 bytes
Updates: Status: Fixed Cc: asta...@gmx.de Labels: Milestone-1.2 Comment #1 on issue 3253 by stephane.ducasse: Announcer. Extraction ActionSequence creation in subscription logic http://code.google.com/p/pharo/issues/detail?id=3253 (No comment was entered for this change.)
Updates: Status: Closed Comment #2 on issue 3253 by stephane.ducasse: Announcer. Extraction ActionSequence creation in subscription logic http://code.google.com/p/pharo/issues/detail?id=3253 in 12240
participants (1)
-
pharo@googlecode.com