@@ -887,6 +887,16 @@ pub enum Trampoline {
887887 options : OptionsIndex ,
888888 } ,
889889
890+ /// A `stream.forward` intrinsic to forward all remaining elements from the
891+ /// readable end of one `stream` into the writable end of another `stream`
892+ /// of the specified type.
893+ StreamForward {
894+ /// The specific component instance which is calling the intrinsic.
895+ instance : RuntimeComponentInstanceIndex ,
896+ /// The table index for the specific `stream` type and caller instance.
897+ ty : TypeStreamTableIndex ,
898+ } ,
899+
890900 /// A `stream.cancel-read` intrinsic to cancel an in-progress read from a
891901 /// `stream` of the specified type.
892902 StreamCancelRead {
@@ -960,6 +970,16 @@ pub enum Trampoline {
960970 options : OptionsIndex ,
961971 } ,
962972
973+ /// A `future.forward` intrinsic to forward the value of the `future` with
974+ /// the specified readable end into the `future` with the specified
975+ /// writable end.
976+ FutureForward {
977+ /// The specific component instance which is calling the intrinsic.
978+ instance : RuntimeComponentInstanceIndex ,
979+ /// The table index for the specific `future` type and caller instance.
980+ ty : TypeFutureTableIndex ,
981+ } ,
982+
963983 /// A `future.cancel-read` intrinsic to cancel an in-progress read from a
964984 /// `future` of the specified type.
965985 FutureCancelRead {
@@ -1225,13 +1245,15 @@ impl Trampoline {
12251245 StreamNew { .. } => format ! ( "stream-new" ) ,
12261246 StreamRead { .. } => format ! ( "stream-read" ) ,
12271247 StreamWrite { .. } => format ! ( "stream-write" ) ,
1248+ StreamForward { .. } => format ! ( "stream-forward" ) ,
12281249 StreamCancelRead { .. } => format ! ( "stream-cancel-read" ) ,
12291250 StreamCancelWrite { .. } => format ! ( "stream-cancel-write" ) ,
12301251 StreamDropReadable { .. } => format ! ( "stream-drop-readable" ) ,
12311252 StreamDropWritable { .. } => format ! ( "stream-drop-writable" ) ,
12321253 FutureNew { .. } => format ! ( "future-new" ) ,
12331254 FutureRead { .. } => format ! ( "future-read" ) ,
12341255 FutureWrite { .. } => format ! ( "future-write" ) ,
1256+ FutureForward { .. } => format ! ( "future-forward" ) ,
12351257 FutureCancelRead { .. } => format ! ( "future-cancel-read" ) ,
12361258 FutureCancelWrite { .. } => format ! ( "future-cancel-write" ) ,
12371259 FutureDropReadable { .. } => format ! ( "future-drop-readable" ) ,
0 commit comments