d
This commit is contained in:
13
Utilities/platform/2/templates/section-generated-pipe-recent
Normal file
13
Utilities/platform/2/templates/section-generated-pipe-recent
Normal file
@@ -0,0 +1,13 @@
|
||||
ctrl.%PIPE%(
|
||||
dbg: "%SHORT_SRC%",
|
||||
sub: %SUB%,
|
||||
%SRC%.eraseToAnyPublisher(),
|
||||
{
|
||||
$0.%NAME%.value = $1
|
||||
$0.%NAME%.isRecent = true
|
||||
},
|
||||
{ m, _ in m.%NAME%.isRecent = false }
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user