Skip to content

623637646/SwiftUtils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SwiftUtils

Race for async operations. First finished operation wins, cancel the other operations.

Execute an operation in the current task subject to a timeout.

The normal swift concurrency API withCheckedThrowingContinuation will not stop when the Task is cancelled. This API withCheckedThrowingCancellableContinuation will throw CancellationError when the Task is cancelled.

AnyPublisher to async. ( use AsyncPublisher after iOS 15.)

Get the next value from Publisher.

CurrentValueSubject is readable and writable, ReadOnlyCurrentValueSubjectis only writable in the current module. It's not writable outside the current module.

Dictionary from or to Model and Array from or to Models

About

Swift Common Utils

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published