FeedLimits

fun FeedLimits(configure: FeedLimits.Builder.() -> Unit = {}): FeedLimits(source)

Builds a FeedLimits from FeedLimits.Defaults. FeedLimits { maxEntries = 200 }; every member may only be tightened.

Stable Core.

Return

the limits.

Parameters

configure

tightens members; the defaults when omitted.

Throws

if a member is above its default or below its floor; the message names the property and never a value.


Builds a FeedLimits starting from from, which is never modified. A member may be raised back up to its default, never above it.

Stable Core.

Return

the limits.

Parameters

from

the limits to start from.

configure

changes members.

Throws

if a member is above its default or below its floor; the message names the property and never a value.