Skip to content

ActionChain in State initialized after PresentationModel#onCreate() call. #59

@mohaxspb

Description

@mohaxspb

@dmdevgo, hi!

If you create state like this:

private val someAction = action<Unit> { map { "something" } }

and then pass a value to its consumer in onCreate()

override fun onCreate() { someAction.accept(Unit) }

it wont execute, as it initialies after PresentationModel#onCreate() call.

Is it bug of feature? =)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions