Posts

Post not yet marked as solved
1 Replies
536 Views
Say I have a customer with an active one-year subscription and want to create an offer code for 6 months at a reduced price that's available to all subscribers -- new, existing, and lapsed. If my customer with an active subscription uses the code, will the promotional period just occur at the end of their current active subscription period? I can't find this documented anywhere -- a link would be much appreciated.
Posted
by jef.
Last updated
.
Post not yet marked as solved
0 Replies
721 Views
In Apple's TicTacFish sample project, Step 3 provides an example of a LocalNetworkActorSystem based on Bonjour. At various points in the implementation, reference is made to building up a mapping from actor IDs to Connections/Peers, such that we can identify the correct connections to send calls and replies on (the sample project just broadcasts to all connections.) I've tried various approaches but can't get past the simple hurdle that: the methods required by DistributedActorSystem (e.g., SampleLocalNetworkActorSystem.remoteCall(on:target:invocation:throwing:returning:) do not allow for additional arguments, preventing me from passing along data about the originating connection that could be used to uniquely identify the peer the peer initialization happens separately from the relevant ActorID methods (e.g., SampleLocalNetworkActorSystem.resolve(id:as:), SampleLocalNetworkActorSystem.assignID(_:), SampleLocalNetworkActorSystem.actorReady(_:)) which prevents me from knowing which connection this actor initialization corresponds to. Has anyone figured out a way to get this to work?
Posted
by jef.
Last updated
.