Closed moksh-samespace closed 6 days ago
Transactions are scoped, you can not fork them. Same as http stdlib
how can I receive cancel for such incoming invite server transactions?
relates to #103
@moksh-samespace try latest code. Now cancel is automatically detected and canceled for you.
Thanks @emiago . Will have a look at it.
I’m unable to receive Cancel requests within the onCancel or onInvite handlers using the following code:
go func() { for { select { case m := <-tx.Cancels(): // handle cancel case m := <-tx.Acks(): // handle ack case <-tx.Done(): // handle completion } } }()