/* * hunt-amqp: AMQP library for D programming language, based on hunt-net. * * Copyright (C) 2018-2019 HuntLabs * * Website: https://www.huntlabs.net * * Licensed under the Apache-2.0 License. * */ module hunt.amqp.streams.Subscriber; import std.stdio; import hunt.amqp.streams.Subscription; interface Subscriber(T) { void onSubscribe(Subscription var1); void onNext(T var1); void onError(Throwable var1); void onComplete(); }