 	public let request: Request
 	public let peers: [Peer]
 
-	fileprivate let transferDisposable = CompositeDisposable()
+	fileprivate let disposable = CompositeDisposable()
 	fileprivate let eventObserver = CompositeObserver<Event>()
 
 	fileprivate init(request: Request, peers: [Peer]) {

extension ResourceStoreRegistration: ResourceEventProducerProtocol {
	public func addEventObserver(on queue: DispatchQueue, action: @escaping (ResourceEvent<Store.Request>) -> Void) -> Disposable {
		let observer = DispatchObserver(queue: queue, action: action)
		return eventObserver.add(observer)
	}
}


extension ResourceRequestReceipt: ResourceEventProducerProtocol {
	public func addEventObserver(on queue: DispatchQueue, action: @escaping (ResourceEvent<Request>) -> Void) -> Disposable {
		let observer = DispatchObserver(queue: queue, action: action)
		let disposable = eventObserver.add(observer)
		self.disposable += disposable
		return disposable
	}
}

extension ResourceRequestReceipt: Disposable {
	public var isDisposed: Bool {
		return disposable.isDisposed
	}

	public func dispose() {
		disposable.dispose()
	}
}

