Function workspace::open_new

source ·
pub fn open_new(
    app_state: &Arc<AppState>,
    cx: &mut AppContext,
    init: impl FnOnce(&mut Workspace, &mut ViewContext<'_, '_, Workspace>) + 'static
) -> Task<()>