/* * Hunt - A refined core library for D programming language. * * Copyright (C) 2018-2019 HuntLabs * * Website: https://www.huntlabs.net/ * * Licensed under the Apache-2.0 License. * */ module hunt.concurrency.ScheduledFuture; import hunt.concurrency.Delayed; import hunt.concurrency.Future; /** * A delayed result-bearing action that can be cancelled. * Usually a scheduled future is the result of scheduling * a task with a {@link ScheduledExecutorService}. * * @since 1.5 * @author Doug Lea * @param (V) The result type returned by this Future */ interface ScheduledFuture(V) : Delayed, Future!(V) { }