Skip to content

Is it possible to provide a more semantically clear singleton Grain without specifying any key, such as IGrainWithSingleton? #9522

@paxhujing

Description

@paxhujing

public interface IConfigurationGrarin : IGrainWithSingleton
{
...
}

var singleton = GrainFactory.GetGrain<IConfigurationGrarin>();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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