@ice/plugin-stream-error
v1.0.2
Published
A plugin for re-render app when stream error.
Downloads
4
Keywords
Readme
@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