isInactive checks if topic is paused or being deleted.
()
| 3748 | |
| 3749 | // isInactive checks if topic is paused or being deleted. |
| 3750 | func (t *Topic) isInactive() bool { |
| 3751 | return (atomic.LoadInt32(&t.status) & (topicStatusPaused | topicStatusMarkedDeleted)) != 0 |
| 3752 | } |
| 3753 | |
| 3754 | func (t *Topic) isReadOnly() bool { |
| 3755 | return (atomic.LoadInt32(&t.status) & topicStatusReadOnly) != 0 |
no outgoing calls
no test coverage detected