Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Flint conditional conformance blog part 2
public struct StaticActionBinding<FeatureType, ActionType>: CustomDebugStringConvertible
where FeatureType: FeatureDefinition, ActionType: Action {
public func perform(using presenter: ActionType.PresenterType,
with input: ActionType.InputType,
completion: ((ActionOutcome) -> ())? = nil) {
let action: StaticActionBinding<SomeFeature, SomeAction> =
action.perform(using: myPresenter, with: "Hello world!")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.