public class

DelayProducer

extends Object
implements Producer<T>
java.lang.Object
   ↳ com.facebook.imagepipeline.producers.DelayProducer

Class Overview

A ScheduledExecutorService is a significant dependency and we do not want to require it. If not provided, this producer is a no-op.

Summary

Public Constructors
DelayProducer(Producer<CloseableReference<CloseableImage>> inputProducer, ScheduledExecutorService backgroundTasksExecutor)
Public Methods
void produceResults(Consumer<CloseableReference<CloseableImage>> consumer, ProducerContext context)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.facebook.imagepipeline.producers.Producer

Public Constructors

public DelayProducer (Producer<CloseableReference<CloseableImage>> inputProducer, ScheduledExecutorService backgroundTasksExecutor)

Public Methods

public void produceResults (Consumer<CloseableReference<CloseableImage>> consumer, ProducerContext context)