superyuuki / yuukomponent

component framework for block game
2 stars 0 forks source link

Implement an event wrapper that if any behavior uses it it is locked #12

Closed github-actions[bot] closed 2 years ago

github-actions[bot] commented 2 years ago

Implement an event wrapper that if any behavior uses it it is locked

The necessity of this is for caching: If a component's behaviors are still being used by incoming events,

there is no need to recycle it. However, if the node cache hasn't had any events sent to it that actually

did anything, why keep the node in the cache?

https://github.com/superyuuki/yuukomponent/blob/03d5824af7767838a391689ba46fbe4f5611e7dc/yuukomponent-api/src/main/java/com/superyuuki/yuukomponent/api/behavior/LoggingEventPrototype.java#L4


package com.superyuuki.yuukomponent.api.behavior;

/**
 * TODO Implement an event wrapper that if any behavior uses it it is locked
 * labels: low-priority
 * The necessity of this is for caching: If a component's behaviors are still being used by incoming events,
 * there is no need to recycle it. However, if the node cache hasn't had any events sent to it that actually
 * did anything, why keep the node in the cache?
 */
public interface LoggingEventPrototype {
}

823b7f15b054f6694f05019362f083789e968681

zoeself commented 2 years ago

@github-actions[bot] thank you for reporting this. I'll assign someone to take care of it soon.

zoeself commented 2 years ago

@superyuuki I couldn't find any assignee for this task. This is either because there are no contributors with role DEV available or because the project does not have enough funds.

Please, make sure there is at least one available contributor with the required role and the project can afford to pay them.