Created
June 25, 2020 12:13
-
-
Save arthurpalves/3d4054897532f7148748c802cd41cbe4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public func timeline(with context: Context, completion: @escaping (Timeline<Entry>) -> ()) { | |
| var entries: [AccountEntry] = [] | |
| /* ... */ | |
| let timeline = Timeline(entries: entries, policy: .atEnd) | |
| completion(timeline) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment