Questions tagged [publisher]
325 questions
0
votes
1 answer
How to cancel/invalidate timer of type AnyPublisher in SwiftUI?
I'm new in the Combine world and i have var timer: AnyPublisher to 're-use' the timer i have in the ContentView for my SecondView, do i have to invalidate/cancel the timer when i no longer need it? If yes, how to do it?
In the previous…

simonaus
- 43
- 5
0
votes
1 answer
Using formatted text from Word table to Publisher
I'm trying (and failing) to fill out a text box (TextFrame) in Publisher using a macro from content in a Word table. I'm trying to do something along the lines of:
With doc.Pages(1).shapes(1)
.GroupItems.Item(8).TextFrame.TextRange =…

TimO
- 131
- 1
- 8
0
votes
1 answer
HL7 FHIR IG Publisher returns java NullPointerException
I'm trying to generate documentation of my HL7 FHIR profiles using IG Publisher (publisher.jar). I'm running it on command line on macOS. I've uploaded the IG resource on Simplifier and it validates with no errors.
The problem is that i'm getting…
0
votes
1 answer
Why is my Python Subscriber/Publisher node not publishing anything? Thank you
The instructions for the question are below
Question report 2.7. You are now ready to make a ROS node to perform real-time
extraction of the centroid of the line from the images acquired by the camera of your
robot.
File name:…

drand
- 1
0
votes
1 answer
Publisher/Subscriber on the same node C++ ROS
I aim to create a Subscriber and a Publisher in the same node!
I want to access a part of the message available on a topic of a rosbag.
The message of the thread is as follows:
Type: radar_msgs/RadarDetectionArray
std_msgs/Header header
uint32…

Fares DJELILI
- 3
- 3
0
votes
1 answer
How put Array in API DEFINITION WSO2
Can someone help me please ?
"RefeItem": [
{
"Key": "dev",
"Value": "dev234"
}
]
how can i set this in API Definition publisher wso2
0
votes
1 answer
Reactive Swift Signal Producer conversion code to Combine.Publisher doesn't work with combine latest
Here's my code to convert ReactiveSwift Signal Producers to Combine.Publishers
import ReactiveSwift
import Combine
/// convert SignalProducer -> Publisher
public struct ReactiveSwiftPublisher: Publisher {
public…

Yogurt
- 2,913
- 2
- 32
- 63
0
votes
2 answers
How to use Combine to show elastic search results using network while falling back on cache in Swift
I have a function which returns a list of Items using elastic search and falls back on realm cache. I'm wondering how can I use Combine to achieve the same.
I am trying to do something like this where I have a publisher for each store but I am…

Rush B
- 29
- 1
- 9
0
votes
1 answer
FHIR publisher fails on a java NullPointerException
I am trying to build our IG for the first time using the publishler.jar but am getting a NullPointerException. I understand that there is some problem with it not managing to find some code in a CodeSystem but I can't figure it out.
One clear…

Amos Bordowitz
- 474
- 6
- 19
0
votes
2 answers
How to mark an Azure AD B2C App as Publisher Verified
I have a working Xamarin Forms app that uses Azure AD B2C to login to providers such as Microsoft, Google, LinkedIn, Apple, etc. The login process works smoothly except that I get the message "Let this app access your info? unverified". See picture…

sidsud
- 25
- 9
0
votes
1 answer
A new user belonging to a new application role doesnt' see Create Report option in OBIEE
Our team has recently created a new user fb_user that belongs to a new group FB_USERS. From EM we created a new application role BIFbRole using 'Create like' option on BIContentAuthor role. The group FB_USERS is added as members of the new…

Sherzodbek
- 170
- 1
- 20
0
votes
2 answers
Custom Combine Publisher wrapper class does not work unless retained
I wrote a Combine Publisher wrapper class for some old code that used delegation.
TLDR; Can someone improve how I manage the lifetime of my custom publisher. Preferrable by making it behave like normal publishers, where you can just sink to it and…

Yogurt
- 2,913
- 2
- 32
- 63
0
votes
1 answer
SwiftUI/Combine: Subscribing to array updates vs element updates
I'm experimenting with SwiftUI and Combine, and wanted to be able to receive notification whenever an array of struct items changes (either changes within items, or changes to the array, i.e. append, remove).
I tried the following code, but all I…

Dave Meehan
- 3,133
- 1
- 17
- 24
0
votes
1 answer
Using a Published var to observe a switch case in a Publisher with Combine
I have an enum case which is a @Published var in an ObservableObject class. What I'm trying to do is observe changes to the term var defined below and update an annualRate publisher.
Below is the @Published var
@Published var term: MortgageTerm =…

Adrian
- 16,233
- 18
- 112
- 180
0
votes
0 answers
Python ZMQ functions magically missing?
So I have been trying to use the ZMQ module to make a publisher subscriber model
I downloaded the library in Pycharm, made sure that it is the latest version.
And when I try to use things like ".setsockopt" it keeps saying "unresolved attribute…

Wong jacky
- 11
- 1