postDelayed

public final static T postDelayed<T extends Event>(T event, Long delay, TimeUnit timeUnit, EventProcessingType processingType)

Posts an event to be handled after a specified delay by all registered hooks for the event's class.

Return

The event after processing.

Parameters

T

The type of the event.

event

The event to post.

delay

The delay after which the event should be handled.

timeUnit

The time unit of the delay.

processingType

The type of processing (Sync, Async, HandlerAsync).