ice/packages/plugin-stream-error
ClarkXia bb60ab5a04
CI / build (16.x, ubuntu-latest) (push) Has been cancelled Details
CI / build (16.x, windows-latest) (push) Has been cancelled Details
CI / build (18.x, ubuntu-latest) (push) Has been cancelled Details
CI / build (18.x, windows-latest) (push) Has been cancelled Details
Coverage / coverage (16.x) (push) Has been cancelled Details
Release / Release (16) (push) Has been cancelled Details
feat: support option rootId to empty root (#7031)
2025-07-09 10:59:28 +08:00
..
src
CHANGELOG.md
README.md
package.json
tsconfig.json

README.md

@ice/plugin-stream-error

A plugin for re-render app when stream error.

Usage

import { defineConfig } from '@ice/app';
import streamError from '@ice/plugin-stream-error';

export default defineConfig(() => ({
  plugins: [
    streamError(),
  ],
}));

Causion: This plugin only works when stream content ends with javascripts which triggered an custom event of stream_end