resx v0.1.0 Resx.Resource.Content.Stream
The streamable content of a resource.
%Resx.Resource.Content.Stream{
type: ["text/html]",
data: ["<p>", "Hello", "</p>"]
}
Link to this section Summary
Link to this section Types
Link to this type
t()
t() :: %Resx.Resource.Content.Stream{ data: Enumerable.t(), type: Resx.Resource.Content.type() }
Link to this section Functions
Link to this function
combine(content, collectable \\ [])
combine(t(), Collectable.t()) :: Collectable.t()
Combine a content stream into a collectable.
If the collectable is a bitstring, this will only combine the content into a bitstring if it is possible to do so. Otherwise it will just return a list.
Make some content streamable.