Проверка шаблона шины для iOS
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
322B

  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)