Skip to content

Stash not available under Scala 3 (with CrossVersion) #130

@devlaam

Description

@devlaam

Akka.js continues to be very useful! However, when taking my project to Scala 3 (and making use of CrossVersion.for3Use2_13) a problem with the use of Stash arises. It seems not possible to define mailbox configurations in application.conf for that file is not being read, and making use of then ConfigFactory does not work for it relies on Scala 2 macro's (not supported in Scala 3). Making an alternative Stash class is also difficult for the underlying queues in the mailboxes are not accessible (needed to get the order right).

Is there a way to somehow manually load the required mailbox class? Or do you know some other workaround?

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