@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
33 lines (21 loc) • 943 B
Markdown
---
lang: en
title: 'API docs: rest.restapplication.sequence'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/rest
permalink: /doc/en/lb4/apidocs.rest.restapplication.sequence.html
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/rest](./rest.md) > [RestApplication](./rest.restapplication.md) > [sequence](./rest.restapplication.sequence.md)
## RestApplication.sequence() method
<b>Signature:</b>
```typescript
sequence(sequence: Constructor<SequenceHandler>): Binding;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| sequence | [Constructor](./context.constructor.md)<!-- --><[SequenceHandler](./rest.sequencehandler.md)<!-- -->> | |
<b>Returns:</b>
[Binding](./context.binding.md)