callback

fun callback(journey: Journey, array: JsonArray): List<Callback>

Retrieves a list of callbacks based on the provided JSON array.

Parameters

journey

The Journey instance to be injected.

array

The JSON array containing the callback types.

  • @return A list of initialized Callback instances.