Skip to content

Tags: teufelaudio/CombineLongPolling

Tags

0.1.8

Toggle 0.1.8's commit message
Ensure that calling cancel() deallocates the subscription

0.1.7

Toggle 0.1.7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Avoid last request after cancellation (#10)

0.1.6

Toggle 0.1.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix retain cycle (#9)

* Fix retain cycle

STR:
- have an app with a few long polls
- put the app in background
- wait a minute (t > long poll timeout)
- resume the app

Result:
- 💣 memory allocation skyrockets

* Move the dispacht-async call to the call site, get rid of some selfs in startPolling()

v0.1.6

Toggle v0.1.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix retain cycle (#9)

* Fix retain cycle

STR:
- have an app with a few long polls
- put the app in background
- wait a minute (t > long poll timeout)
- resume the app

Result:
- 💣 memory allocation skyrockets

* Move the dispacht-async call to the call site, get rid of some selfs in startPolling()

v0.1.5

Toggle v0.1.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Make mock conform to the protocol it's mocking (#8)

v0.1.4

Toggle v0.1.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Remove RESTClient dependency (#7)

v0.1.3

Toggle v0.1.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Enforce long polling session to have timeout vars too (#6)

v0.1.2

Toggle v0.1.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Invert dependency (#5)

v0.1.1

Toggle v0.1.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix "Semaphore object deallocated while in use"-crash 🤞 (#4)

* Fix "Semaphore object deallocated while in use"-crash 🤞

* Fix the initial value as well

(this has no practical impact, I just want to avoid having DispatchSemaphore(value:1) anywhere in the code)

v0.1.0

Toggle v0.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix the missing lock in the longpoll loop (#3)