Skip to content

Commit

Permalink
Add Beacon signal views and print methods [feenkcom/gtoolkit#3908]
Browse files Browse the repository at this point in the history
  • Loading branch information
JurajKubelka committed Jul 26, 2024
1 parent 9e9f66e commit 97dcf33
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/GToolkit-Inspector/BrAsyncElementFutureSignal.extension.st
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,15 @@ BrAsyncElementFutureSignal >> gtElementPreviewFor: aView [
object: [ self element ];
view: #gtLiveFor:
]

{ #category : #'*GToolkit-Inspector' }
BrAsyncElementFutureSignal >> gtFutureCompositionFor: aView [
<gtView>
self future ifNil: [ ^ aView empty ].

^ aView forward
title: 'Future';
priority: 0;
object: [ self future ];
view: #gtCompositionFor:
]

0 comments on commit 97dcf33

Please sign in to comment.