Nexus API Reference

DefaultStashBuffer
in package
implements StashBuffer

FinalYes
Tags
psalm-api

Default stash buffer implementation.

template
implements

Table of Contents

Interfaces

StashBuffer

Methods

__construct()  : mixed
capacity()  : int
isEmpty()  : bool
isFull()  : bool
size()  : int
stash()  : void
Stash the given envelope for later replay.
unstashAll()  : Behavior<string|int, T>
Replay all stashed envelopes through the target behavior, then continue with it.

Methods

__construct()

public __construct(int $capacity) : mixed
Parameters
$capacity : int

unstashAll()

Replay all stashed envelopes through the target behavior, then continue with it.

public unstashAll(Behavior<string|int, T$targetBehavior) : Behavior<string|int, T>
Parameters
$targetBehavior : Behavior<string|int, T>
Attributes
#[Override]
Return values
Behavior<string|int, T>
On this page

Search results