InitializationCallback

public interface InitializationCallback
Known Indirect Subclasses

Callback to use when monitoring Fabric initialization. Use by calling initializationCallback(InitializationCallback)

Nested Class Summary

class InitializationCallback.Empty  

Field Summary

public static final InitializationCallback EMPTY

Public Method Summary

abstract void
failure(Exception exception)
Failed initialization with exception
abstract void
success(T t)
Successful initialization.

Fields

public static final InitializationCallback EMPTY

Public Methods

public abstract void failure (Exception exception)

Failed initialization with exception

Parameters
exception

public abstract void success (T t)

Successful initialization.

Parameters
t

Send feedback about...

Need help? Visit our support page.