Skip to content

Instantly share code, notes, and snippets.

@motorro
Created August 16, 2022 10:25
Show Gist options
  • Save motorro/384f74044a6fb2d2276537a9a463fc02 to your computer and use it in GitHub Desktop.
Save motorro/384f74044a6fb2d2276537a9a463fc02 to your computer and use it in GitHub Desktop.
Flow started
/**
* Common interface to start feature-flow
*/
interface FlowStarter<G: Any, U: Any> {
/**
* Creates a starting state
* @param email Email to proceed with
*/
fun start(email: String): CommonMachineState<G, U>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment