Host lifecycle — 구성·서비스·종료

framework runtime은 host 수명주기 서비스로 시작·종료에 묶인다

Host lifecycle — 구성·서비스·종료 framework runtime은 host 수명주기 서비스로 시작·종료에 묶인다 시작 · Architecture component 시작 구성 단계 · AddZLinkFramework · Architecture component 구성 단계 AddZLinkFramework 서비스 중 · channel·SPOT·stream · Architecture component 서비스 중 channel·SPOT·stream 종료 · runtime 정리 · Architecture component 종료 runtime 정리 종료점 · Architecture component 종료점 CreateBuilder() app.Run() host shutdown

구성 단계

  • • Services / AddZLinkFramework, channel / SPOT / stream / registry를 app.Run() 전에 선언한다. 잘못된 구성은 host startup에서 예외로 거부된다.

서비스 중

  • • channel·SPOT·stream dispatch가 도는 구간.

종료

  • • host shutdown 신호가 오면 hosted service stop → runtime 정리 순으로 내려간다.