You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: chunk_item.rs
    path of file: ./repos/turbo/crates/turbopack-ecmascript/src/async_chunk
    
    the code of the file until where you have to start completion: use anyhow::{anyhow, Result};
use indoc::formatdoc;
use turbo_tasks::{TryJoinIterExt, Value, Vc};
use turbopack_core::{
    chunk::{
        ChunkData, ChunkItem, ChunkItemExt, ChunkType, ChunkableModule, ChunkingContext,
        ChunkingContextExt, Chunk
    
    async fn content(self: Vc<Self>) -> Result<Vc<EcmascriptChunkItemContent>> {
        let this = self.await?;
        let module = this.module.await?;

        let placeable = Vc::try_resolve_downcast::<Box<dyn EcmascriptChunkPlaceable>>(module.inner)
            .await?
            .ok_or_else(|| anyhow!("asset is not placeable in ecmascript chunk"))?;
        let id = &*placeable
            .as_chunk_item(Vc::upcast(this.chunking_context))
            .id()
            .await?;

        let chunks_data = self.chunks_data().await?;
        let chunks_data = chunks_data.iter().try_join().await?;
        let chunks_data: Vec<_> = chunks_data
            .iter()
            .map(|chunk_data| EcmascriptChunkData::new(chunk_data))
            .collect();

        let code = formatdoc! {
            r#"
                __turbopack_export_value__((__turbopack_import__) => {{
                    return Promise.all({chunks:#}.map((chunk) => __turbopack_load__(chunk))).then(() => {{
                        return __turbopack_import__({id});
                    }});
                }});
            "#,
            chunks = StringifyJs(&chunks_data),
            id = StringifyJs(id),
        };

        Ok(EcmascriptChunkItemContent {
            inner_code: code.into(),
            ..Default::default()
        }
        .into())
    }