let test = SignalProducer<Int, NoError> { (observer: Signal<Int, NoError>.Observer, lifetime) in observer.send(value: 5) observer.sendCompleted() }