No JSDoc comment in source yet.
API
@Interface("@prismshadow/penguin-server#ProjectModelRequests")
export abstract class ProjectModelRequests {
abstract stream(
scope: ProjectModelScope,
model: ModelRefDto,
request: Opaque<"ProjectModelRequest", ProjectModelRequest>,
): AsyncIterable<Opaque<"UniEvent", UniEvent>>;
}Contract Topology
Static AST wiring across @Module / @Provide / @UseMembers (1)
stream
Streams one request to a configured model of the Project, MMSP's events as they arrive. Throws (from the first read) a 404 for a Session that is not the Project's and a 400 for a model the Project does not configure; anything the provider or MMSP throws reaches the reader after the usage row is written.
@paramscope
ProjectModelScope@parammodel
ModelRefDto@returns
AsyncIterable<Opaque<"UniEvent", UniEvent>>