fix
杨锴
2025-06-16 3fa53409f5132333ce6d83fff796e108ddd62090
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//
//  InvocableScheduledItem.swift
//  RxSwift
//
//  Created by Krunoslav Zaher on 11/7/15.
//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
//
 
struct InvocableScheduledItem<I: InvocableWithValueType> : InvocableType {
 
    let invocable: I
    let state: I.Value
 
    init(invocable: I, state: I.Value) {
        self.invocable = invocable
        self.state = state
    }
 
    func invoke() {
        self.invocable.invoke(self.state)
    }
}