Проверка шаблона шины для iOS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

section-generated-action-shouldLoad 322B

11 months ago
12345678
  1. ctrl.m
  2. .compactMap { shouldLoad%NAME%($0) }
  3. .flatMap { v -> AnyPublisher<Net.Result%NAME%, Never> in
  4. world.net().%REQUEST%(v).eraseToAnyPublisher()
  5. }
  6. .receive(on: DispatchQueue.main)
  7. .sink { v in world.result%NAME%.send(v) }
  8. .store(in: &%SUB%.subscriptions)