You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The concept here is to minimize the need to for loop through targets to send a message to a subset of the server audience, where that subset is not provided by the existing methods in audienceProvider eg. all(), world(),server(),permission(String) etc
It would be ideal to take the provided audience and filter it either by a predicate, which as discussed might need to be platform-specific, or by another audience set. audienceProvider.permission("some.permission", somePredicate)
The concept here is to minimize the need to for loop through targets to send a message to a subset of the server audience, where that subset is not provided by the existing methods in audienceProvider eg.
all()
,world()
,server()
,permission(String)
etcIt would be ideal to take the provided audience and filter it either by a predicate, which as discussed might need to be platform-specific, or by another audience set.
audienceProvider.permission("some.permission", somePredicate)
or in the case of another audience set.
AudienceProvide.all().exclude(AudienceProvider.world("someworld").sendmessage()
Consideration would need to made, as to whether the implementation is better optimized than example like the for loop below.
This would avoid code like
The text was updated successfully, but these errors were encountered: