Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
zhabis committed Feb 3, 2023
1 parent 64e751b commit 43c34c0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Azos.Sky/Fabric/FiberState.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,16 @@ public abstract class Slot : AmorphousTypedDoc

public SlotMutationType SlotMutation => m_SlotMutation;


/// <summary>
/// Override to add indexable tags per slot.
/// The system uses slot tags to find fibers by slots tagged with the specified values.
/// The default implementation returns empty tag collection.
/// Slot tags introduce performance overhead proportional to number of tags, so for all practical reasons
/// you should ONLY use tags when necessary and keep their count at minimum (2-3)
/// </summary>
public virtual IEnumerable<Data.Adlib.Tag> Tags => Enumerable.Empty<Data.Adlib.Tag>();

/// <summary>
/// True if the runtime loaded the data for this slot already.
/// Slots may request to not pre-load the data via `DoNotPreload = true`
Expand Down

0 comments on commit 43c34c0

Please sign in to comment.