tree: 35eb1bf94ba4b0e05a84c9ce36e8a5e024ced804 [path history] [tgz]
  1. .eslintrc.js
  2. BUILD.gn
  3. byte_length_queuing_strategy.cc
  4. byte_length_queuing_strategy.h
  5. byte_length_queuing_strategy.idl
  6. ByteLengthQueuingStrategy.js
  7. CommonOperations.js
  8. CommonStrings.js
  9. count_queuing_strategy.cc
  10. count_queuing_strategy.h
  11. count_queuing_strategy.idl
  12. CountQueuingStrategy.js
  13. miscellaneous_operations.cc
  14. miscellaneous_operations.h
  15. miscellaneous_operations_test.cc
  16. OWNERS
  17. PRESUBMIT.py
  18. promise_handler.cc
  19. promise_handler.h
  20. queue_with_sizes.cc
  21. queue_with_sizes.h
  22. queue_with_sizes_test.cc
  23. queuing_strategy_common.cc
  24. queuing_strategy_common.h
  25. queuing_strategy_init.idl
  26. readable_stream.cc
  27. readable_stream.h
  28. readable_stream.idl
  29. readable_stream_default_controller.cc
  30. readable_stream_default_controller.h
  31. readable_stream_default_controller.idl
  32. readable_stream_default_controller_interface.cc
  33. readable_stream_default_controller_interface.h
  34. readable_stream_default_reader.h
  35. readable_stream_default_reader.idl
  36. readable_stream_native.cc
  37. readable_stream_native.h
  38. readable_stream_operations.cc
  39. readable_stream_operations.h
  40. readable_stream_operations_test.cc
  41. readable_stream_reader.cc
  42. readable_stream_reader.h
  43. readable_stream_test.cc
  44. readable_stream_wrapper.cc
  45. readable_stream_wrapper.h
  46. ReadableStream.js
  47. README.md
  48. SimpleQueue.js
  49. stream_algorithms.h
  50. stream_promise_resolver.cc
  51. stream_promise_resolver.h
  52. stream_promise_resolver_test.cc
  53. test_underlying_source.h
  54. transferable_streams.cc
  55. transferable_streams.h
  56. transferable_streams_test.cc
  57. transform_stream.cc
  58. transform_stream.h
  59. transform_stream.idl
  60. transform_stream_default_controller.cc
  61. transform_stream_default_controller.h
  62. transform_stream_default_controller.idl
  63. transform_stream_default_controller_interface.h
  64. transform_stream_default_controller_wrapper.cc
  65. transform_stream_default_controller_wrapper.h
  66. transform_stream_native.cc
  67. transform_stream_native.h
  68. transform_stream_test.cc
  69. transform_stream_transformer.h
  70. transform_stream_wrapper.cc
  71. transform_stream_wrapper.h
  72. TransformStream.js
  73. underlying_sink_base.h
  74. underlying_sink_base.idl
  75. underlying_source_base.cc
  76. underlying_source_base.h
  77. underlying_source_base.idl
  78. writable_stream.cc
  79. writable_stream.h
  80. writable_stream.idl
  81. writable_stream_default_controller.cc
  82. writable_stream_default_controller.h
  83. writable_stream_default_controller.idl
  84. writable_stream_default_controller_interface.cc
  85. writable_stream_default_controller_interface.h
  86. writable_stream_default_writer.cc
  87. writable_stream_default_writer.h
  88. writable_stream_default_writer.idl
  89. writable_stream_native.cc
  90. writable_stream_native.h
  91. writable_stream_test.cc
  92. writable_stream_wrapper.cc
  93. writable_stream_wrapper.h
  94. WritableStream.js
third_party/blink/renderer/core/streams/README.md

core/streams/

This directory contains the Blink implementation of the WHATWG Streams standard.

We use V8 extras to implement it.

There is also a new implementation that is written in C++ rather than JavaScript. It is currently off by default, behind the Blink “StreamsNative” feature. The following files are part of the new implementation:

readable_stream_default_controller.idl
readable_stream_default_controller_interface.cc
readable_stream_default_controller_interface.h
readable_stream_default_reader.h
readable_stream_default_reader.idl
readable_stream_native.cc
readable_stream_native.h
readable_stream_reader.cc
readable_stream_reader.h
writable_stream_default_controller.cc
writable_stream_default_controller.h
writable_stream_default_controller.idl
writable_stream_default_writer.cc
writable_stream_default_writer.h
writable_stream_default_writer.idl
writable_stream_native.cc
writable_stream_native.h
transferable_streams.cc
transferable_streams.h
transform_stream_default_controller.cc
transform_stream_default_controller.h
transform_stream_native.cc
transform_stream_native.h

See also Streams C++ port design doc.