ClosureHolder

public class ClosureHolder<S, T>

Internal Class that wraps a closure to make sure the closure is retained until no longer required