withUser

fun withUser(userObj: UserBehavior): StorageUnit<T>

Copy this StorageUnit, applying the given user's ID to its context.


fun withUser(userId: Snowflake): StorageUnit<T>

Copy this StorageUnit, applying the given user ID to its context.