yumemi/gen/emit/accepted
0.11.3(H4)── HTTP の応答が 202 Accepted になる Service を宣言から決める。
runtime の commit は、commit を解釈の境だけにする consumer(boundaries)でなければ outbox を
書いて False を返し、step は Accepted で終わる。HTTP はそれを 202 と {<root>: id} で返す
(framework server/http.mjs の outcomeResponse。欄の名は ★ respond が替えてよい)。
だから「source に step.commit( が在り、boundary でない Service」が 202 を返す。
Values
pub fn accepts(
app: model.App,
units: List(source.Unit),
service: model.Service,
) -> Bool
commit の後に続きを持ち、HTTP で 202 Accepted を返す Service。
pub fn boundary(
app: model.App,
units: List(source.Unit),
kind: String,
) -> Bool
queue の kind(step.call_write(queue.<kind>( で呼ばれる Service)のうち、send の connector を
import するもの。commit は解釈の境だけで、受け手へ送り終えてから outbox を閉じる(runtime の boundaries)。