https://github.com/zeta611/yaksok
Yaksok is a lightweight framework that brings Promises to Swift
https://github.com/zeta611/yaksok
deferred framework futures library promises swift
Last synced: over 1 year ago
JSON representation
Yaksok is a lightweight framework that brings Promises to Swift
- Host: GitHub
- URL: https://github.com/zeta611/yaksok
- Owner: Zeta611
- License: mit
- Created: 2019-08-16T22:40:13.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-17T05:15:37.000Z (almost 7 years ago)
- Last Synced: 2025-02-01T21:34:53.605Z (over 1 year ago)
- Topics: deferred, framework, futures, library, promises, swift
- Language: Swift
- Homepage:
- Size: 162 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Yaksok
## Installation
Support for package managers will be added.
## Documentation
Documentation will be added.
## Example
```swift
User.login(username: username, password: password)
.flatMap { user in
user.fetchFriends()
}
.done { friends in
// Do something with the user's friends
}
.catch { error in
// do something with the error
}
```
## License
Yaksok is available under the MIT license. See the LICENSE file for more info.