refChannel

fun refChannel(id: String, projection: String? = null): String

Resolves the ref-channel a DataSync resource publishes its realtime events on. null, "default" and DEFAULT_PROJECTION resolve to the bare id; any other projection resolves to __{projection}__{id}.

The rule has no resource type, so it applies to any ref (entity, user, channel).

Throws