Question: Hi i am very new for ios and in my app i am loading Launcher screens they are(Default-568h@2x.png,Default.png,Default@2x.png,Default-414w-736h@3x~iphone.jpeg,Default-375w-667h@2x~iphone.jpeg) ok that's fine

When i run my app 4,5,5s simulators screen is fitting perfectly see my 5s simulator screen

But when i load my app in 6,6s,6plus simulators small little bit gap coming at top and bottom side see my below 6 simulator screen

what is the problem is it sumulator problem or any other problem please guide me

5 inch simulator:-
------------------

[![enter image description here](https://i.stack.imgur.com/Bkrgz.png)](https://i.stack.imgur.com/Bkrgz.png)

6 inch simulator:-
------------------

[![enter image description here](https://i.stack.imgur.com/DtLR9.png)](https://i.stack.imgur.com/DtLR9.png)

Answer: 
An abstraction that might help:

```
import {commandFactory} from "hystrixjs";

export const CommandsBuilder = class CommandsBuilder {

    static createMyCommand({runFn, fallbackFn}){
        return commandFactory.getOrCreate("my-command-name")
            .run(runFn)
            .fallbackTo(fallbackFn)
            .build();
    }

};

```

* **runFn**: The function that calls the external service
* **fallbackFn**: The function called if the service is down or slow

More configuration options under **Creating a command** in [Hystrixjs readme](https://bitbucket.org/igor_sechyn/hystrixjs#readme)

I also did a [post](http://tomasalabes.me/blog/nodejs/grpc/reactive/rxjs/graphql/hystrixjs/2018/05/06/circuit-breaking-node-grpc-calls.html) on this.
In case, you use hapi server, you can create sse data:

```
use strict'
const hystrixSSEStream = require('hystrixjs').hystrixSSEStream;
module.exports = [
    {
        method: 'GET',
        path: '/hystrix-sse-stream',
        handler: (request, reply) => {
            request.raw.res.writeHead(200, { 'content-type': 'text/event-stream; charset=utf-8',
                'Pragma': 'no-cache',
                'cache-control': 'no-cache, no-store, max-age=0, must-revalidate' })
            hystrixSSEStream.toObservable().subscribe(
                function onNext(sseData) {
                    request.raw.res.write('data: ' + sseData + '\n\n')
                },
                function onError(error) {
                    reply(error)
                },
                function onComplete() {
                    reply.continue()
                }
            )
        }
    }
]

```