Skip to content

Instantly share code, notes, and snippets.

@motorro
Created August 16, 2022 10:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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