namespace ZB.MOM.NatsNet.Server;

internal static class SubjectTokens
{
    internal static string[] Subjects(IEnumerable<string> filters)
    {
        ArgumentNullException.ThrowIfNull(filters);
        return filters.Where(static filter => !string.IsNullOrWhiteSpace(filter)).ToArray();
    }
}
