This commit is contained in:
Михаил Капелько committed 2024-01-29 18:09:14 +03:00
1 parent a0f8e2d31e
commit 49cee91239
106 files changed
+112 -12

No files matched your search

@@ -0,0 +1,8 @@
ctrl.m
.compactMap { shouldLoad%NAME%($0) }
.flatMap { v -> AnyPublisher<Net.Result%NAME%, Never> in
world.net().%REQUEST%(v).eraseToAnyPublisher()
}
.receive(on: DispatchQueue.main)
.sink { v in world.result%NAME%.send(v) }
.store(in: &%SUB%.subscriptions)