Class DispatchContext<D,S>

java.lang.Object
discord4j.core.event.dispatch.DispatchContext<D,S>
Type Parameters:
D - the type of the payload
S - the type of the old state

public class DispatchContext<D,S> extends Object
Represents gateway dispatch data enriched with context for processing through a DispatchHandler defined under DispatchHandlers.