Skip to content
This repository was archived by the owner on Jun 23, 2020. It is now read-only.
This repository was archived by the owner on Jun 23, 2020. It is now read-only.

action with assync result #65

Description

@scalway

Current implementation of creating actions is blocking:

def action[T](name: String)(action: T => ActionResult[T]): ActionField[T]

"save" or "delete" actions could potentially communicate with DB so there'll be nice if they could use async API. This could be better approach for some usecases:

def action[T](name: String)(action: T => Future[ActionResult[T]]): ActionField[T]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions