//
//  Published.swift
//  ColourViewer
//
//  Created by Michael Salmon on 2019-08-09.
//  Copyright © 2019 mesme. All rights reserved.
//

import Foundation
import Combine

/// Generic wrapper for publishing data

class Published<T> {
    var publisher = PassthroughSubject<T, Never>()