Questions tagged [publisher]
325 questions
-1
votes
1 answer
Publisher not calling completion when test is async (case for M1 processor)
I have a class that can load data asynchronously from the file system. I am trying to test reading the data correctly and have been seeing how the publisher I create to call the loading task only finishes as long as the test is not marked as…

regina_fallangi
- 2,080
- 2
- 18
- 38
-1
votes
1 answer
Creating a publisher that collects values after a trigger
Is there a way to turn on the collect() after it sees a certain value and then turn it off after it sees another?
I tried using map and filter upstream and that's totally wrong.
Here's my playground
import UIKit
import Foundation
import Combine
var…

Yogurt
- 2,913
- 2
- 32
- 63
-1
votes
1 answer
Swift Combine dependent API Calls
I have 3 API call, all of them are being called using Publishers. API A & API B will be called first before API C got called. But API C should be called only when the response from API A & B met some conditions.
Currently I have these functions to…

mrjimoy_05
- 3,452
- 9
- 58
- 95
-1
votes
1 answer
SwiftUI Environment Object Not Getting Updated
I thought it was the case that @Published properties inside a class designated as an environment object would automatically update to all the subviews I pass the environment object to, but the below code isn't updating, what am I doing wrong?
class…

GarySabo
- 5,806
- 5
- 49
- 124
-1
votes
1 answer
Huge click discrepancy between adsense and google analytics
I'm seeing a huge click discrepancy between adsense and GA reports. I am adding reports for the same time interval:
I thought some of the clicks may be invalid but is this much discrepancy okay? It is also making the CTR extremely low since number…

Behlül
- 3,412
- 2
- 29
- 46
-1
votes
1 answer
Distributed WSO2 APIM: Problems with KeyManager
Now I am testing the API-Manager doing a distributed install of pruduct.
When I start the Analytitcs and publisher (both in ditributed hosts), the analytic's Log don´t stop to show the error messages:
[2018-04-12 15:00:18,770] ERROR…

ChelloFera
- 349
- 1
- 3
- 16
-1
votes
1 answer
How to exchange data between nodes in ROS?
I want to send data from one node to another. For example: One node is publishing data to the topic /mobile_base/commands/velocity and other one is subscribed to /mobile_base/events/bumper. Both the subscriber & publisher are working fine.
What I…

Safeer
- 184
- 3
- 17
-1
votes
1 answer
How to fix error in the "make" step for a Simple Image Publisher (C )?
I am working on ROS groovy, and I want to write a Simple Image Publisher (C++) as described in http://wiki.ros.org/image_transport/Tutorials/PublishingImages. When I want to make the package, I face an error as follows.
How can I fix the…

Samira Mousavi
- 9
- 3
-2
votes
1 answer
PubSub Publisher Ingestion
I am trying to ingest an avro file from a gcs to pubsub. Have some layman questions.
What are the options to send a file as a message in PubSub?
Like can we send the whole file as a message or only the contents of the file can be iterated and send…

mehere
- 1,487
- 5
- 28
- 50
-2
votes
1 answer
How to set up a Mule Publisher Subscriber model
How do I go about setting up a Mule Publisher Subscriber model using ActiveMQ? I’ve been looking around the web for a complete example that is simple and easy to follow but was not able to. All i want to do is sent a string to a MQ topic (using a…

O'Neil Tomlinson
- 702
- 1
- 6
- 28