Skip to content

Kameo integration #359

@oscartbeaumont

Description

@oscartbeaumont
let mic_actor_router: Router<Ctx> = ActorRouter::builder(|ctx| ctx.mic_feed)
  .mutation::<mic_feed::SetInput>("setMicInput")
  .mutation::<mic_feed::RemoveInput>("removeMicInput")
  .build();

or even:

let mic_actor_router = Router::builder()
  .procedure("setMicInput", {
    ActorProcedure::builder(|ctx| ctx.mic_feed)
      .mutation::<mic_feed::SetInput>("setMicInput")
  })  
  .build();

You could also possibly even allow mapping events. Could be useful for something like Date -> String

Metadata

Metadata

Assignees

No one assigned

    Labels

    long-termThings that aren't going to be fixed anytime soon but are nice to haves!

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions