0001    // FallibleSendingChannel.swift
0002    //
0003    // The MIT License (MIT)
0004    //
0005    // Copyright (c) 2015 Zewo
0006    //
0007    // Permission is hereby granted, free of charge, to any person obtaining a copy
0008    // of this software and associated documentation files (the "Software"), to deal
0009    // in the Software without restriction, including without limitation the rights
0010    // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
0011    // copies of the Software, and to permit persons to whom the Software is
0012    // furnished to do so, subject to the following conditions:
0013    //
0014    // The above copyright notice and this permission notice shall be included in all
0015    // copies or substantial portions of the Software.
0016    //
0017    // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
0018    // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
0019    // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
0020    // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
0021    // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
0022    // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
0023    // SOFTWARE.
0024    
0025    public final class FallibleSendingChannel
FallibleChannel.swift:74
    public lazy var sendingChannel: FallibleSendingChannel<T> = FallibleSendingChannel(self)
FallibleChannel.swift:74
    public lazy var sendingChannel: FallibleSendingChannel<T> = FallibleSendingChannel(self)
Select.swift:173
    let channel: FallibleSendingChannel<T>
Select.swift:177
    init(channel: FallibleSendingChannel<T>, value: T, closure: Void -> Void) {
Select.swift:213
    let channel: FallibleSendingChannel<T>
Select.swift:217
    init(channel: FallibleSendingChannel<T>, error: ErrorType, closure: Void -> Void) {
Select.swift:303
    public func send<T>(value: T, to channel: FallibleSendingChannel<T>?, closure: Void -> Void) {
Select.swift:317
    public func throwError<T>(error: ErrorType, into channel: FallibleSendingChannel<T>?, closure: Void -> Void) {
<T
FallibleSendingChannel.swift:26
    private let channel: FallibleChannel<T>
FallibleSendingChannel.swift:28
    init(_ channel: FallibleChannel<T>) {
FallibleSendingChannel.swift:32
    public func sendResult(result: ChannelResult<T>) {
FallibleSendingChannel.swift:36
    public func send(value: T) {
FallibleSendingChannel.swift:40
    func send(value: T, clause: UnsafeMutablePointer<Void>, index: Int) {
>: FallibleSendable { 0026 private let channel
FallibleSendingChannel.swift:29
        self.channel = channel
FallibleSendingChannel.swift:33
        return channel.sendResult(result)
FallibleSendingChannel.swift:37
        return channel.send(value)
FallibleSendingChannel.swift:41
        return channel.send(value, clause: clause, index: index)
FallibleSendingChannel.swift:45
        return channel.sendError(error)
FallibleSendingChannel.swift:49
        return channel.send(error, clause: clause, index: index)
FallibleSendingChannel.swift:53
        return channel.closed
: FallibleChannel<T> 0027 0028 init
FallibleChannel.swift:74
    public lazy var sendingChannel: FallibleSendingChannel<T> = FallibleSendingChannel(self)
(_ channel: FallibleChannel<T>) { 0029 self.channel = channel 0030 } 0031 0032 public func sendResult(result: ChannelResult<T>) { 0033 return channel.sendResult(result) 0034 } 0035 0036 public func send(value: T) { 0037 return channel.send(value) 0038 } 0039 0040 func send
Select.swift:184
        channel.send(value, clause: clause, index: index)
(value: T, clause: UnsafeMutablePointer<Void>, index: Int) { 0041 return channel.send(value, clause: clause, index: index) 0042 } 0043 0044 public func sendError(error: ErrorType) { 0045 return channel.sendError(error) 0046 } 0047 0048 func send
Select.swift:224
        channel.send(error, clause: clause, index: index)
(error: ErrorType, clause: UnsafeMutablePointer<Void>, index: Int) { 0049 return channel.send(error, clause: clause, index: index) 0050 } 0051 0052 public var closed
Select.swift:304
        if let channel = channel where !channel.closed {
Select.swift:318
        if let channel = channel where !channel.closed {
: Bool { 0053 return channel.closed 0054 } 0055 } 0056