Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NopThenableConsumer = ThenableConsumer(func(value interface{}) {})
Functions ¶
This section is empty.
Types ¶
type Consumer ¶
type Consumer interface {
Accept(value interface{})
}
Consumer represents an operation that accepts a single input argument and returns no result. Unlike most other functional interfaces, {@code Consumer} is expected to operate via side-effects.
type EmptyConsumer ¶
type EmptyConsumer interface {
Run()
}
type ThenableConsumer ¶
type ThenableConsumer func(value interface{})
func (ThenableConsumer) Accept ¶
func (c ThenableConsumer) Accept(value interface{})
func (ThenableConsumer) AndThen ¶
func (c ThenableConsumer) AndThen(consumer Consumer) ThenableConsumer
Click to show internal directories.
Click to hide internal directories.