fun newStory(mainIntent: String, otherStarterIntents: Set<IntentAware> = emptySet(), secondaryIntents: Set<IntentAware> = emptySet(), steps: List<ClientStep> = emptyList(), storyId: String = mainIntent, handler: ClientBus.() -> Unit): ClientStoryDefinition (source)fun newStory(mainIntent: IntentAware, otherStarterIntents: Set<IntentAware> = emptySet(), secondaryIntents: Set<IntentAware> = emptySet(), steps: List<ClientStep> = emptyList(), storyId: String = mainIntent.wrappedIntent().name, handler: ClientBus.() -> Unit): ClientStoryDefinition (source)
Creates a new story.