Skip to content

jextract: closures with @Sendable should keep this information in generated java "closure" type #832

Description

@ktoso

public func onEvent(_ f: @escaping @Sendable (Int64) -> Void) {}

Should generate a class onEvent_f @FunctionalInterface that we mark as @ThreadSafe

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfeature:jextractIssues related to jextract-swift

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions