Skip to content

Commit dc96025

Browse files
author
Keith Smiley
authored
Merge pull request #27 from Reflejo/discardable-displaylink
Add @discardableResult to CADisplayLink extension
2 parents 32c0724 + adb82b9 commit dc96025

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Source/CADisplayLink+LambdaKit.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ extension CADisplayLink {
6262
///
6363
/// - parameter duration: The duration in seconds.
6464
/// - parameter handler: The closure to execute for every tick.
65+
@discardableResult
6566
public static func runFor(_ duration: CFTimeInterval,
6667
handler: @escaping LKDisplayLinkClosure) -> CADisplayLink
6768
{

0 commit comments

Comments
 (0)